You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connecting to Snowflake trial account I got the errors below. I use the driver 3.13.25.
I read a new library Arrow is required, probably beside the JDBC driver. But it is not clear which library. Maybe you can specify exactly which one?
A fix could be to execute
ALTER SESSION SET JDBC_QUERY_RESULT_FORMAT='JSON'
but this is not the best solution, since the default driver with default settings is failing.
net.snowflake.client.jdbc.SnowflakeSQLException: JDBC driver internal error: exception creating result java.lang.ExceptionInInitializerError at net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager.(UnsafeAllocationManager.java:27).
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:243)
at net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:118)
at com.wisecoders.dbs.dbms.connect.model.envoy.SelectStatement.execute(SelectStatement.java:84)
at com.wisecoders.dbs.dbms.connect.model.envoy.SelectStatement.executeQuery(SelectStatement.java:88)
and also this error:
et.snowflake.client.jdbc.SnowflakeSQLException: JDBC driver internal error: exception creating result java.lang.NoClassDefFoundError: Could not initialize class net.snowflake.client.jdbc.internal.apache.arrow.memory.RootAllocator at net.snowflake.client.jdbc.SnowflakeResultSetSerializableV1.create(SnowflakeResultSetSerializableV1.java:577).
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:243)
at net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:118)
at com.wisecoders.dbs.dbms.connect.model.envoy.SelectStatement.execute(SelectStatement.java:84)
The text was updated successfully, but these errors were encountered:
sfc-gh-igarish
changed the title
net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager
SNOW-755718: net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager
Mar 8, 2023
- fix pom.xml url
- add sortpom plugin and sort pom.xml
- remove internal repository reference
- fix scm section
- add a pluginManagement section
- add version properties for plugins
- update plugin versions
- add dependency convergence and upper bounds checks
- fill out dependencyManagement section to converge all dependencies at the upper bound
- add unused declared and used undeclared dependency checks
- remove unused declared dependencies
- add used undeclared dependencies
- fix the <scope> declaration of several dependencies
- remove all dependency <exclusions> sections
- remove maven-install-plugin
- add japicmp plugin to enforce semantic versioning
- update maven required version to 3.6.3
- add linkage checker enforcer rule
- add linkage exclusions covering the current set of linkage issues
- add duplicate class enforcer check from extra-enforcer-rules
- adjust the java-9 profile to activate for jdks 9 or greater
- add JPMS line for tests with jdk>8 "--add-opens=java.base/java.nio=ALL-UNNAMED"
- update fmt-maven-plugin
- add maven wrapper, pin maven to 3.8 for compatibility with linkage checker
- disable shading by default, fixes#174#608
- dependency fixes possibly fix#1211
- update json-smart to 2.4.9, related #1311
- httpclient to 4.5.14, #1273
Connecting to Snowflake trial account I got the errors below. I use the driver 3.13.25.
I read a new library Arrow is required, probably beside the JDBC driver. But it is not clear which library. Maybe you can specify exactly which one?
A fix could be to execute
ALTER SESSION SET JDBC_QUERY_RESULT_FORMAT='JSON'
but this is not the best solution, since the default driver with default settings is failing.
The JDBC is like
jdbc:snowflake://https://lc79578.eu-west-1.snowflakecomputing.com
net.snowflake.client.jdbc.SnowflakeSQLException: JDBC driver internal error: exception creating result java.lang.ExceptionInInitializerError at net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager.(UnsafeAllocationManager.java:27).
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:243)
at net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:118)
at com.wisecoders.dbs.dbms.connect.model.envoy.SelectStatement.execute(SelectStatement.java:84)
at com.wisecoders.dbs.dbms.connect.model.envoy.SelectStatement.executeQuery(SelectStatement.java:88)
and also this error:
et.snowflake.client.jdbc.SnowflakeSQLException: JDBC driver internal error: exception creating result java.lang.NoClassDefFoundError: Could not initialize class net.snowflake.client.jdbc.internal.apache.arrow.memory.RootAllocator at net.snowflake.client.jdbc.SnowflakeResultSetSerializableV1.create(SnowflakeResultSetSerializableV1.java:577).
at net.snowflake.client.jdbc.SnowflakeStatementV1.executeQueryInternal(SnowflakeStatementV1.java:243)
at net.snowflake.client.jdbc.SnowflakePreparedStatementV1.executeQuery(SnowflakePreparedStatementV1.java:118)
at com.wisecoders.dbs.dbms.connect.model.envoy.SelectStatement.execute(SelectStatement.java:84)
The text was updated successfully, but these errors were encountered: