Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for snowflake-jdbc-thin #577

Open
jtjeferreira opened this issue Aug 8, 2024 · 0 comments
Open

Support for snowflake-jdbc-thin #577

jtjeferreira opened this issue Aug 8, 2024 · 0 comments

Comments

@jtjeferreira
Copy link

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.

Any plans to support snowflake-jdbc-thin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant