Source
Quick reference: Snowpark Java APIs for SQL commands
This topic provides a quick reference of some of the Snowpark APIs that correspond to SQL commands. (Note that this is not a complete list of the APIs that correspond to SQL commands.)…
Troubleshooting Java UDFs
If using a Java UDF in a masking policy, ensure the data type of the column, UDF, and masking policy match.
Analyzing queries and troubleshooting with Snowpark Java
To inspect the evaluation plan of a DataFrame, call the explain method of the DataFrame. This prints the SQL statements used to evaluate the DataFrame. If there is only one SQL statement, the method also prints the logical plan for the…
JDBC Driver Failure - net.snowflake.client.jdbc.internal.io.netty.util.internal.OutOfDirectMemoryError: failed to allocate xxx byte(s) of direct memory (used: yyy, max: zzz)
CAUSE: Java allows applications to write bytes directly to memory outside of the JVM's heap space. Other terminologies used to describe that portion of the memory include native memory, off - heap memory, non - heap memory, and direct memory.
Native SDK for Connectors Java - release notes
Native SDK for Connectors Java - release notes Release notes for Native SDK for Connectors Java library.
Calling functions and stored procedures in Snowpark Java
To process data in a DataFrame, you can call system - defined SQL functions, user - defined functions, and stored procedures.
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.
Configuring the JDBC Driver
This topic describes how to configure the JDBC driver, including how to connect to Snowflake using the driver.
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…