Last active
May 23, 2020 03:36
-
-
Save tuanchris/f17cb5c88f8327bdda8942e6ce27675c to your computer and use it in GitHub Desktop.
This file contains 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
from airflow import DAG | |
from airflow.contrib.operators.bigquery_operator import BigQueryOperator | |
from airflow.operators.dummy_operator import DummyOperator | |
from datetime import datetime, timedelta | |
from airflow.contrib.operators.gcs_to_bq import GoogleCloudStorageToBigQueryOperator | |
from airflow.contrib.operators.bigquery_check_operator import BigQueryCheckOperator | |
default_args = { | |
'owner': 'Tuan Nguyen', | |
'depends_on_past': False, | |
'email_on_failure': False, | |
'email_on_retry': False, | |
'retries': 5, | |
'retry_delay': timedelta(minutes=5), | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment