Last active
June 28, 2020 14:29
-
-
Save vvgsrk/b1b55b4cc27d5dcb9691133881769f80 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
CREATE OR REPLACE TASK db_dev.revenue.fa_unload_task | |
WAREHOUSE = LOAD_DEV | |
SCHEDULE = 'USING CRON 0 18 * * * UTC' | |
WHEN | |
SYSTEM$STREAM_HAS_DATA('OD_FORECAST_BOOKING_STREAM') | |
AS | |
call db_dev.revenue.fa_unload_sp(); | |
ALTER TASK IF EXISTS db_dev.revenue.fa_unload_task RESUME; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment