Snowpark Developer Guide for Scala¶
The Snowpark library provides an intuitive API for querying and processing data in a data pipeline. Using the Snowpark library, you can build applications that process data in Snowflake without moving data to the system where your application code runs.
For an introduction to Snowpark, see Snowpark API.
- Setting Up Your Development Environment for Snowpark Scala
Set up to build Snowpark apps using any of several development environments.
- Snowpark Library for Scala and Java Release Notes (Snowflake Community)
Get the latest release notes.
- Getting Started With Snowpark in Scala (Snowflake Quickstarts)
Use a tutorial to learn the basics of Snowpark with Scala.
- Creating a Session for Snowpark Scala
Establish a session with which you interact with the Snowflake database.
- Working with DataFrames in Snowpark Scala
Query and process data with a
- Creating User-Defined Functions (UDFs) for DataFrames in Scala
Create user-defined functions (UDFs) using the Snowpark API.
- Calling Functions and Stored Procedures in Snowpark Scala
Use the Snowpark API to call system-defined functions, UDFs, and stored procedures.
- A Simple Example of Using Snowpark Scala
See example code for an application that prints information about tables in Snowflake.
- Logging and Tracing Overview
Record log messages and trace events in an event table for analysis later.
- Analyzing Queries and Troubleshooting with Snowpark Scala
Troubleshoot your code with logging and by viewing underlying SQL.
- Quick Reference: Snowpark Scala APIs for SQL Commands
Learn how SQL statements map to Snowpark APIs for common operations.
- Snowpark Library for Scala API Reference
Read details about the classes and methods in the Snowpark API.