Skip to content

Commit e7e5073

Browse files
committed
Add temp code to avoid dependency analyze failure
1 parent 9ee88a7 commit e7e5073

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wren-main/src/main/java/io/wren/main/connector/snowflake/SnowflakeClient.java

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import io.wren.base.WrenException;
2222
import io.wren.base.config.SnowflakeConfig;
2323
import io.wren.connector.postgres.PostgresClient;
24+
import net.snowflake.client.jdbc.SnowflakeDriver;
2425

2526
import java.sql.Connection;
2627
import java.sql.DriverManager;
@@ -50,6 +51,8 @@ public Connection createConnection()
5051
{
5152
try {
5253
Class.forName("net.snowflake.client.jdbc.SnowflakeDriver");
54+
// TODO: Remove this line, it just use dependency to avoid dependency analyze failure
55+
SnowflakeDriver driver = new SnowflakeDriver();
5356
}
5457
catch (ClassNotFoundException e) {
5558
throw new RuntimeException(e);

0 commit comments

Comments
 (0)