diff --git a/pom.xml b/pom.xml index 520ce13c..d2d87d53 100644 --- a/pom.xml +++ b/pom.xml @@ -96,7 +96,7 @@ io.trino.hive hive-apache - 3.1.2-6 + 3.1.2-22 io.trino.tempto @@ -143,7 +143,7 @@ org.apache.commons commons-lang3 - 3.3.2 + 3.12.0 @@ -167,7 +167,7 @@ org.apache.thrift libthrift - 0.9.3-1 + 0.20.0 org.apache.httpcomponents @@ -199,4 +199,19 @@ + + + + + org.basepom.maven + duplicate-finder-maven-plugin + + + mozilla/public-suffix-list.txt + + + + + + diff --git a/tempto-core/pom.xml b/tempto-core/pom.xml index a60b27a1..a08f90c6 100644 --- a/tempto-core/pom.xml +++ b/tempto-core/pom.xml @@ -70,6 +70,12 @@ io.trino.hive hive-apache + + + org.apache.parquet + * + + diff --git a/tempto-core/src/main/java/io/trino/tempto/internal/fulfillment/table/hive/HiveThriftClient.java b/tempto-core/src/main/java/io/trino/tempto/internal/fulfillment/table/hive/HiveThriftClient.java index 66f81d19..63122803 100644 --- a/tempto-core/src/main/java/io/trino/tempto/internal/fulfillment/table/hive/HiveThriftClient.java +++ b/tempto-core/src/main/java/io/trino/tempto/internal/fulfillment/table/hive/HiveThriftClient.java @@ -73,8 +73,9 @@ private void open() checkState(client != null, "Previously failed to open"); return; } - transport = new TSocket(thriftHost, thriftPort); + try { + transport = new TSocket(thriftHost, thriftPort); transport.open(); } catch (TTransportException e) {