Guest User

Untitled

a guest
Feb 24th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. # Define the CREATE TABLE statement here
  2. {%- macro create_table() %}
  3. ...
  4. {%- endmacro %}
  5.  
  6. # Main ETL logic, insert the results into a STAGING table
  7. {%- macro main() %}
  8. ...
  9. {%- endmacro %}
  10.  
  11. # A series of simple presto CHECKS on the staging table
  12. {%- macro health_checks() %}
  13. ...
  14. {%- endmacro %}
  15.  
  16. # Finally, EXCHANGE the staging table with the prod table
Add Comment
Please, Sign In to add comment