Source
How To: Use Java JDBC Client With External OAuth Token
FAQ: This article assumes that you have already configured the External OAuth and generated the OAuth token successfully.
Analyzing queries and troubleshooting with Snowpark Java
Snowpark uses the Apache Arrow connector, which depends on internal Java APIs that are not exposed by default after Java 9. To work around this error, set the following parameter either as a command - line argument when running your…
Java requirements for the JDBC Driver
The Snowflake JDBC driver requires Java LTS (Long - Term Support) versions 1.8 or higher. If the minimum required version of Java is not installed on the client machines where the JDBC driver is installed, you must install either Oracle Java…
Native SDK for Connectors Java - release notes
Native SDK for Connectors Java - release notes Release notes for Native SDK for Connectors Java library.
A Simple Example of Using Snowpark Java
A Simple Example of Using Snowpark Java The following example prints the count and names of tables in the current database. Replace the <placeholders> with values that you use to connect to Snowflake.
Creating a Session for Snowpark Java
To use Snowpark in your application, you need to create a session. For convenience in writing code, you can also import the names of packages and objects.
JDBC driver with -Dhttp.nonProxyHosts=* set throws java.lang.StringIndexOutOfBoundsException: begin 1, end 0, length 1
ISSUE: When using the JDBC driver's diagnostics feature (i.e., ENABLE_DIAGNOSTICS=TRUE)1, if the - Dhttp.
Reading files with a Java stored procedure
You can read the contents of a file with handler code. The file must be on a Snowflake stage that’s available to your handler. For example, you might want to read a file to process unstructured data in the handler.
Native SDK for Connectors Java Test - release notes
Native SDK for Connectors Java Test - release notes Release notes for Native SDK for Connectors Java test library. Version 2.2.0 (December 10th, 2024) General changes Replaced the SnowSQL tool with new Snowflake CLI tool Updated Java depen…
Exception 'java.net.UnknownHostException' when connecting to scoped stage file URLs within Snowpark Java functions
…functions execute in secure sandboxes over the Snowflake virtual warehouses and are not permitted to make any network related syscalls, including DNS resolution.