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
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using?
3.14.2
What operating system and processor architecture are you using?
MacOS 14, M1Max
What version of Java are you using?
21
What did you do?
Just call a query with arrow.
After call I got this error:
JDBC driver internal error: Fail to retrieve row count for first arrow chunk: sun.misc.Unsafe or java.nio.DirectByteBuffer.<init>(long, int) not available.
In the latest JDK, the constructor DirectByteBuffer(long, int) was replaced with DirectByteBuffer(long, long).
it look like you need to update apache arrow.
github-actionsbot
changed the title
Java.nio.DirectByteBuffer.<init>(long, int) not available in Java 21, need to update Apache Arrow
SNOW-938463: Java.nio.DirectByteBuffer.<init>(long, int) not available in Java 21, need to update Apache Arrow
Oct 12, 2023
Thanks for reporting this. We're already looking into this because it was reported earlier here #1512.
There's already a PR to address issue #1529 but it needs a bit of ironing out and further testing because we would need to make a leap in the Arrow library version (10.0 -> 13.0). That would also require updates in other dependencies.
I'll go ahead and close this off as a duplicate for now, feel free to reply back if you have any concerns..
Please answer these questions before submitting your issue.
In order to accurately debug the issue this information is required. Thanks!
What version of JDBC driver are you using?
3.14.2
What operating system and processor architecture are you using?
MacOS 14, M1Max
What version of Java are you using?
21
What did you do?
Just call a query with arrow.
After call I got this error:
The problem is mentioned here: https://issues.apache.org/jira/browse/SPARK-42369
It was already fixed here: apache/arrow@bea7a34
Call will execute normally
Can you set logging to DEBUG and collect the logs?
https://community.snowflake.com/s/article/How-to-generate-log-file-on-Snowflake-connectors
What is your Snowflake account identifier, if any? (Optional)
The text was updated successfully, but these errors were encountered: