Created
May 23, 2020 03:16
-
-
Save tuanchris/00369553cf2c7f198119de6d6e11cf58 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