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.
Get Started¶
- 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
Get the latest release notes.
Quickstarts¶
- Getting Started With Snowpark in Scala (Snowflake Quickstarts)
Use a tutorial to learn the basics of Snowpark with Scala.
Developer Guides¶
- 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
DataFrame
object.- Creating User-Defined Functions (UDFs) for DataFrames in Scala
Create user-defined functions (UDFs) using the Snowpark API.
- Creating stored procedures for DataFrames in Scala
Create stored procedures 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, tracing, and metrics
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.
Reference¶
- 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.