diff --git a/tools/etl/tg-jdbc-driver/CHANGELOG.md b/tools/etl/tg-jdbc-driver/CHANGELOG.md index 50d312fd..7bae8263 100644 --- a/tools/etl/tg-jdbc-driver/CHANGELOG.md +++ b/tools/etl/tg-jdbc-driver/CHANGELOG.md @@ -1,4 +1,4 @@ -## Release 1.3.13 +## Release 1.3.14 * Supported TG Version: 2.4.1+ * Bugfixes: 1. fix the bug that can't set queryTimeout in Spark diff --git a/tools/etl/tg-jdbc-driver/tg-jdbc-driver/pom.xml b/tools/etl/tg-jdbc-driver/tg-jdbc-driver/pom.xml index 26c14b05..fbbbc507 100644 --- a/tools/etl/tg-jdbc-driver/tg-jdbc-driver/pom.xml +++ b/tools/etl/tg-jdbc-driver/tg-jdbc-driver/pom.xml @@ -4,7 +4,7 @@ com.tigergraph tigergraph-jdbc-driver - 1.3.13 + 1.3.14 jar TigerGraph JDBC Driver Parent diff --git a/tools/etl/tg-jdbc-driver/tg-jdbc-driver/src/main/java/com/tigergraph/jdbc/common/Statement.java b/tools/etl/tg-jdbc-driver/tg-jdbc-driver/src/main/java/com/tigergraph/jdbc/common/Statement.java index 76d7831c..deac49e9 100644 --- a/tools/etl/tg-jdbc-driver/tg-jdbc-driver/src/main/java/com/tigergraph/jdbc/common/Statement.java +++ b/tools/etl/tg-jdbc-driver/tg-jdbc-driver/src/main/java/com/tigergraph/jdbc/common/Statement.java @@ -46,13 +46,12 @@ public void setQueryTimeout(int seconds) throws SQLException { throw new SQLException("Timeout should be greater than or equal to 0."); } - // The unit of timeout for TigerGraph is millisecond. - timeout = seconds * 1000; + timeout = seconds; } @Override public int getQueryTimeout() throws SQLException { - return timeout / 1000; + return timeout; } /*