Source
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…
Python and Java support for serverless tasks
Serverless tasks can invoke the following object types and functions: user - defined functions (UDFs) and stored procedures written in Python, Java, and Scala.
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.
JDBC Driver Compatibility Issue With JDK 16 and Later: Exception creating result java.lang.ExceptionInInitializerError at net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager
CAUSE: The failure is directly caused by one of the JDBC driver's dependencies, Apache Arrow, when attempting to use reflection in order to access a private member of the java.
Exception 'java.net.UnknownHostException' when connecting to scoped stage file URLs within Snowpark Java functions
ISSUE: When using dynamic file access URLs such as via function BUILD_SCOPED_FILE_URL(@stage, path) in Snowpark Java functions (UDFs, SPs, etc.), attempting to directly connect to the passed scoped file URL in the following manner fails…
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.
Java UDF handler examples
Java UDF handler examples This topic includes simple examples of UDF handler code written in Java.
Introduction to Java UDFs
You can write the handler for a user - defined function (UDF) in Java.
Creating a Session for Snowpark Java
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.
Enabling JDBC Driver Debugging in DBeaver
FAQ: Instructions:1.) Locate the dbeaver.ini file using the default locations below:MacOS: /Applications/DBeaver.app/Contents/Eclipse/dbeaver.ini Windows: C:\Program Files\DBeaver\dbeaver.ini Linux: /usr/share/dbeaver/dbeaver.ini 2.) …