diff --git a/plugin-jdbc-duckdb/build.gradle b/plugin-jdbc-duckdb/build.gradle index 47d610b9..aec731c4 100644 --- a/plugin-jdbc-duckdb/build.gradle +++ b/plugin-jdbc-duckdb/build.gradle @@ -13,7 +13,7 @@ jar { } dependencies { - implementation("org.duckdb:duckdb_jdbc:0.8.1") + implementation("org.duckdb:duckdb_jdbc:1.1.3") implementation project(':plugin-jdbc') testImplementation project(':plugin-jdbc').sourceSets.test.output diff --git a/plugin-jdbc-duckdb/src/test/java/io/kestra/plugin/jdbc/duckdb/DuckDbQueriesTest.java b/plugin-jdbc-duckdb/src/test/java/io/kestra/plugin/jdbc/duckdb/DuckDbQueriesTest.java index 2f48c2cd..9d1a47f6 100644 --- a/plugin-jdbc-duckdb/src/test/java/io/kestra/plugin/jdbc/duckdb/DuckDbQueriesTest.java +++ b/plugin-jdbc-duckdb/src/test/java/io/kestra/plugin/jdbc/duckdb/DuckDbQueriesTest.java @@ -47,7 +47,7 @@ void multiSelect() throws Exception { Queries task = Queries.builder() .fetchType(FETCH) .timeZoneId("Europe/Paris") - .parameters(Property.of(Map.of("age", "30"))) + .parameters(Property.of(Map.of("age", 30))) .sql(""" CREATE TABLE employee (id INTEGER PRIMARY KEY, name VARCHAR, age INTEGER); CREATE TABLE laptop (id INTEGER PRIMARY KEY, brand VARCHAR, model VARCHAR); @@ -78,7 +78,7 @@ void multiSelectFromExistingFileInUrl() throws Exception { Queries task = Queries.builder() .fetchType(FETCH) .timeZoneId("Europe/Paris") - .parameters(Property.of(Map.of("age", "30"))) + .parameters(Property.of(Map.of("age", 30))) .url("jdbc:duckdb:"+ Objects.requireNonNull(resource).getPath()) .sql(""" CREATE TABLE employee (id INTEGER PRIMARY KEY, name VARCHAR, age INTEGER); diff --git a/plugin-jdbc-duckdb/src/test/resources/db/duck.db b/plugin-jdbc-duckdb/src/test/resources/db/duck.db index 00845615..8ce2aa9d 100644 Binary files a/plugin-jdbc-duckdb/src/test/resources/db/duck.db and b/plugin-jdbc-duckdb/src/test/resources/db/duck.db differ