-
Notifications
You must be signed in to change notification settings - Fork 20
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
SNOW-1038770: Failed to initialize MemoryUtil. Was Java started with --add-opens=java.base/java.nio=ALL-UNNAMED
?
#82
Comments
--add-opens=java.base/java.nio=ALL-UNNAMED
?--add-opens=java.base/java.nio=ALL-UNNAMED
?
Interesting enough, if I remove However, when performing a Specifically this code block (where log.info("Querying Snowflake");
DataFrame df_src = session.table(sourceTable).filter(Functions.col("TRANSFORMED_IND").equal_to(Functions.lit(0)));
if (limitNum>0) {
log.info("Limiting Query to "+limitNum+" records");
df_src = df_src.limit(limitNum);
}
long records_num = df_src.count(); fails with, error
|
It is a JDBC limitation. Snowflake JDBC replies dependencies such as Apache Arrow, which require those Java libs. |
@knanne -- Sorry for the late reply. Can you set As Bing mentioned, Apache Arrow requires this parameter. |
Trying to bump our our Springboot application to Java 17, was excited to see 17 support in new release of snowpark 1.10
However, we are still getting the below error message. The error happens immediately after performing an INSERT statement on the database successfully. The code doing that insert is
It looks like the release included passing of some java args 8b4c579 as described as a "short-term solution" in https://community.snowflake.com/s/article/JDBC-Driver-Compatibility-Issue-With-JDK-16-and-Later
Is this maybe not excluding something important?
My
build.gradle
file is also belowerror
build.gradle
The text was updated successfully, but these errors were encountered: