Last active
June 8, 2020 23:44
-
-
Save robert8138/9e90097f243f30c252f3ee7cb6903280 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define the CREATE TABLE statement here | |
{%- macro create_table() %} | |
... | |
{%- endmacro %} | |
# Main ETL logic, insert the results into a STAGING table | |
{%- macro main() %} | |
... | |
{%- endmacro %} | |
# A series of simple presto CHECKS on the staging table | |
{%- macro health_checks() %} | |
... | |
{%- endmacro %} | |
# Finally, EXCHANGE the staging table with the prod table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment