SnowflakeOperator
SnowflakeExecutes SQL code in a Snowflake database
Access Instructions
Install the Snowflake provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
Documentation
Executes SQL code in a Snowflake database
See also
For more information on how to use this operator, take a look at the guide: SnowflakeOperator
Example DAGs
Lineage Emission
This reverse-ETL pipeline syncs customer data from a Snowflake data warehouse to a marketing platform using Census.
An ELT pipeline which extracts Salesforce customer data to Snowflake for transformation and enrichment, and synced back to Salesforce via Hightouch.
A modern ELT pipeline from extracting Salesforce data to loading and transforming in Snowflake.
Upload the following Zendesk objects to S3: Tickets, Organizations, Users. From S3, loads into Snowflake. Loads can be daily or full-extracts.
The google_analytics_to_snowflake DAG transfers data from Google Analytics (GA) to Google Cloud Storage (GCS), and then loads the data to Snowflake staging tables. From staging, data is loaded to Snow…
Example DAG showcasing a write-audit-publish data quality pattern with Snowflake and Great Expectations.
Example DAG showcasing loading and data quality checking with Snowflake and Great Expectations.
An example DAG showing the use of SnowflakeCheckOperators.
Example DAG showcasing loading and data quality checking with Snowflake and dynamic task mapping.
Example DAG showcasing loading, transforming, and data quality checking with multiple datasets in Snowflake.
This DAG shows an example implementation of comparing data between two S3 buckets and a table in Snowflake using the new .zip() method of the XComArg object.