Skip to content

Commit 4ebad5d

Browse files
committed
Update hive-apache to 3.1.2-22
Along with libthrift 0.20.0
1 parent ec882bb commit 4ebad5d

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

pom.xml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<dependency>
9797
<groupId>io.trino.hive</groupId>
9898
<artifactId>hive-apache</artifactId>
99-
<version>3.1.2-6</version>
99+
<version>3.1.2-22</version>
100100
</dependency>
101101
<dependency>
102102
<groupId>io.trino.tempto</groupId>
@@ -143,7 +143,7 @@
143143
<dependency>
144144
<groupId>org.apache.commons</groupId>
145145
<artifactId>commons-lang3</artifactId>
146-
<version>3.3.2</version>
146+
<version>3.12.0</version>
147147
</dependency>
148148

149149
<dependency>
@@ -167,7 +167,7 @@
167167
<dependency>
168168
<groupId>org.apache.thrift</groupId>
169169
<artifactId>libthrift</artifactId>
170-
<version>0.9.3-1</version>
170+
<version>0.20.0</version>
171171
<exclusions>
172172
<exclusion>
173173
<groupId>org.apache.httpcomponents</groupId>
@@ -199,4 +199,19 @@
199199
</dependency>
200200
</dependencies>
201201
</dependencyManagement>
202+
<build>
203+
<pluginManagement>
204+
<plugins>
205+
<plugin>
206+
<groupId>org.basepom.maven</groupId>
207+
<artifactId>duplicate-finder-maven-plugin</artifactId>
208+
<configuration>
209+
<ignoredResourcePatterns>
210+
<ignoredResourcePattern>mozilla/public-suffix-list.txt</ignoredResourcePattern>
211+
</ignoredResourcePatterns>
212+
</configuration>
213+
</plugin>
214+
</plugins>
215+
</pluginManagement>
216+
</build>
202217
</project>

tempto-core/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@
7070
<dependency>
7171
<groupId>io.trino.hive</groupId>
7272
<artifactId>hive-apache</artifactId>
73+
<exclusions>
74+
<exclusion>
75+
<groupId>org.apache.parquet</groupId>
76+
<artifactId>*</artifactId>
77+
</exclusion>
78+
</exclusions>
7379
</dependency>
7480

7581
<dependency>

tempto-core/src/main/java/io/trino/tempto/internal/fulfillment/table/hive/HiveThriftClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ private void open()
7373
checkState(client != null, "Previously failed to open");
7474
return;
7575
}
76-
transport = new TSocket(thriftHost, thriftPort);
76+
7777
try {
78+
transport = new TSocket(thriftHost, thriftPort);
7879
transport.open();
7980
}
8081
catch (TTransportException e) {

0 commit comments

Comments
 (0)