Skip to content

Commit 3ac0769

Browse files
committed
Update duckdb jdbc driver to 1.3.0.0
1 parent 2a915b3 commit 3ac0769

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugin/trino-duckdb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<dependency>
4747
<groupId>org.duckdb</groupId>
4848
<artifactId>duckdb_jdbc</artifactId>
49-
<version>1.2.2.0</version>
49+
<version>1.3.0.0</version>
5050
</dependency>
5151

5252
<dependency>

plugin/trino-duckdb/src/test/java/io/trino/plugin/duckdb/TestDuckDbConnectorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public void testNativeQueryCreateStatement()
221221
{
222222
assertThat(getQueryRunner().tableExists(getSession(), "numbers")).isFalse();
223223
assertThat(query("SELECT * FROM TABLE(system.query(query => 'CREATE TABLE " + TPCH_SCHEMA + ".numbers(n INTEGER)'))"))
224-
.failure().hasMessageContaining("java.sql.SQLException: Parser Error: syntax error at or near \"CREATE\"");
224+
.failure().hasMessageContaining("Parser Error: syntax error at or near \"CREATE\"");
225225
assertThat(getQueryRunner().tableExists(getSession(), "numbers")).isFalse();
226226
}
227227

@@ -232,7 +232,7 @@ public void testNativeQueryInsertStatementTableExists()
232232
skipTestUnless(hasBehavior(SUPPORTS_NATIVE_QUERY));
233233
try (TestTable testTable = simpleTable()) {
234234
assertThat(query("SELECT * FROM TABLE(system.query(query => 'INSERT INTO %s VALUES (3)'))".formatted(testTable.getName())))
235-
.failure().hasMessageContaining("java.sql.SQLException: Parser Error: syntax error at or near \"INTO\"");
235+
.failure().hasMessageContaining("Parser Error: syntax error at or near \"INTO\"");
236236
assertQuery("SELECT * FROM " + testTable.getName(), "VALUES 1, 2");
237237
}
238238
}

0 commit comments

Comments
 (0)