Skip to content

Commit 5dad18b

Browse files
authored
fix destination-snowflake build for jdk17 (#8854)
1 parent a0ec0de commit 5dad18b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

airbyte-integrations/connectors/destination-snowflake/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ application {
2626
dependencies {
2727
implementation 'com.google.cloud:google-cloud-storage:1.113.16'
2828
implementation 'com.google.auth:google-auth-library-oauth2-http:0.25.5'
29-
implementation 'net.snowflake:snowflake-jdbc:3.12.14'
29+
implementation 'net.snowflake:snowflake-jdbc:3.13.9'
3030
implementation 'org.apache.commons:commons-csv:1.4'
3131
implementation 'com.github.alexmojaki:s3-stream-upload:2.2.2'
3232

buildSrc/src/main/groovy/airbyte-integration-test-java.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ class AirbyteIntegrationTestJavaPlugin implements Plugin<Project> {
4545
maxHeapSize = '3g'
4646

4747
mustRunAfter project.test
48+
49+
// This is needed to make the destination-snowflake tests succeed - https://github.com/snowflakedb/snowflake-jdbc/issues/589#issuecomment-983944767
50+
jvmArgs = ["--add-opens=java.base/java.nio=ALL-UNNAMED"]
4851
}
4952

5053
// make sure we create the integrationTest task once in case a standard source test was already initialized

0 commit comments

Comments
 (0)