-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Verify JVM configuration in Snowflake connector #24717
base: master
Are you sure you want to change the base?
Conversation
8ef0ea9
to
3be054f
Compare
This will be used in Snowflake connector too in the next commit. Co-authored-by: Mateusz "Serafin" Gajewski <[email protected]>
Snowflake connector uses Arrow which requires additional JVM arguments. The docs were also incorrect, Arrow is always used unconditionally in the Snowflake connector.
3be054f
to
5dc3c32
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The suggested doc changes are good enough. Ideally however we even create a Requirements section in the connector doc like we have in others.
- Using Apache Arrow serialization is disabled by default. In order to enable | ||
it, add `--add-opens=java.base/java.nio=ALL-UNNAMED` to the Trino | ||
{ref}`jvm-config`. | ||
Snowflake connector uses Apache Arrow as the serialization format when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Snowflake connector uses Apache Arrow as the serialization format when | |
The Snowflake connector uses Apache Arrow as the serialization format when |
it, add `--add-opens=java.base/java.nio=ALL-UNNAMED` to the Trino | ||
{ref}`jvm-config`. | ||
Snowflake connector uses Apache Arrow as the serialization format when | ||
reading from Snowflake which requires additional JVM arguments. Add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reading from Snowflake which requires additional JVM arguments. Add | |
reading from Snowflake. Add the the following required, additional JVM argument to the [](jvm-config): |
And then have a codeblock with the line
Description
Same as in BigQuery we need additional JVM args in Snowflake connector since it's using Arrow unconditionally.
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: