For the complete documentation index, see llms.txt. This page is also available as Markdown.

Connect Snowflake

Connect Zingg to Snowflake as a data source using the Snowflake Spark connector. Available in all editions.

right-long
right-long

Prerequisites

Snowflake as a data source requires two dependency JARs on the Spark classpath. Download from Maven and add to zingg.conf.

spark.jars = snowflake - jdbc - 3.13.19.jar, \
spark - snowflake_2 .12 - 2.10.0 - spark_3 .1.jar

For the full Zingg installation, cluster setup, and any additional dependency configuration required when connecting Spark to Snowflake, follow the Snowflake Platform Guide.

Python API

from zingg.client import*
from zingg.pipes import*

snowflakePipe = SnowflakePipe("snowflakeInput")
snowflakePipe.addProperty("sfUrl", "rfa59271.snowflakecomputing.com")
snowflakePipe.addProperty("sfUser", "sonalgoyal")
snowflakePipe.addProperty("sfPassword", "ZZ")
snowflakePipe.addProperty("sfDatabase", "TEST")
snowflakePipe.addProperty("sfSchema", "PUBLIC")
snowflakePipe.addProperty("sfWarehouse", "COMPUTE_WH")
snowflakePipe.addProperty("dbtable", "FEBRL")
snowflakePipe.addProperty("application", "zingg_zingg")
args.setData(snowflakePipe)

JSON Config

right-long

Supported file formats

Last updated

Was this helpful?