alliasgher opened a new pull request, #65112: URL: https://github.com/apache/airflow/pull/65112
## Summary - Add example DAG (`example_snowflake_data_quality.py`) demonstrating `SnowflakeCheckOperator`, `SnowflakeValueCheckOperator`, and `SnowflakeIntervalCheckOperator` - Update `snowflake.rst` operator guide with usage sections and code snippets for all three data quality operators ## Motivation The Snowflake provider includes three data quality check operators (`SnowflakeCheckOperator`, `SnowflakeValueCheckOperator`, `SnowflakeIntervalCheckOperator`), but the current documentation only covers `SQLExecuteQueryOperator` and `SnowflakeSqlApiOperator`. This makes the data quality operators harder to discover and use. Closes #65098 ## Changes ### New file: `providers/snowflake/tests/system/snowflake/example_snowflake_data_quality.py` - Creates a sample table with data for both the current date and 7 days ago - Demonstrates `SnowflakeCheckOperator` — verifies table is non-empty - Demonstrates `SnowflakeValueCheckOperator` — asserts exact row count with tolerance - Demonstrates `SnowflakeIntervalCheckOperator` — compares `COUNT(*)` and `SUM(amount)` between current and prior period - Follows the existing pattern from `example_snowflake.py` (setup → checks → teardown) ### Updated file: `providers/snowflake/docs/operators/snowflake.rst` - Added `SnowflakeCheckOperator` section with description and example snippet - Added `SnowflakeValueCheckOperator` section with description and example snippet - Added `SnowflakeIntervalCheckOperator` section with description and example snippet - Each section includes cross-reference anchors (`:ref:` targets) for linking from other docs ^ Add documentation between the existing `SQLExecuteQueryOperator` and `SnowflakeSqlApiOperator` sections. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
