I am trying to use snowflake-jdbc-thin instead of the fat jar snowflake-jdbc. After excluding the snowflake-jdbc and using snowflake-jdbc-thin, I got the error:
[info] Cause: java.lang.ClassNotFoundException: net.snowflake.client.jdbc.internal.fasterxml.jackson.databind.ObjectMapper
[info] at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
[info] at sbt.internal.ManagedClassLoader.findClass(ManagedClassLoader.java:102)
[info] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:594)
[info] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
[info] at net.snowflake.spark.snowflake.Utils$.<clinit>(Utils.scala:86)
[info] at net.snowflake.spark.snowflake.DefaultSource.shortName(DefaultSource.scala:40)
[info] at org.apache.spark.sql.execution.datasources.DataSource$.$anonfun$lookupDataSource$2(DataSource.scala:657)
[info] at org.apache.spark.sql.execution.datasources.DataSource$.$anonfun$lookupDataSource$2$adapted(DataSource.scala:657)
which makes sense because net.snowflake.client.jdbc.internal.fasterxml.jackson.databind.ObjectMapper only exists in the fat jar.
I am trying to use snowflake-jdbc-thin instead of the fat jar
snowflake-jdbc
. After excluding thesnowflake-jdbc
and usingsnowflake-jdbc-thin
, I got the error:which makes sense because
net.snowflake.client.jdbc.internal.fasterxml.jackson.databind.ObjectMapper
only exists in the fat jar.Any plans to support
snowflake-jdbc-thin
?