Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
Add Comment
Please, Sign In to add comment