Code Bundles let you package non-SQL code, like Python, and run it directly on Snowflake compute with a single command, without wrapping it in a stored procedure. This release expands Code Bundles with two new ways to run, in preview:
- Warehouse execution: run Python Code Bundles directly on warehouse compute by setting
compute_type: warehouse, in addition to compute pools. - Spark jobs: submit Spark applications (Scala, Java, or Python) as batch jobs on Snowflake compute by setting
type: spark. Spark support is built on Snowpark Connect, so you can run existing Spark code on Snowflake without re-platforming it.
...