Created
October 16, 2017 18:24
-
-
Save flolas/5418271ac46badc07bba5ab6e8d592ed 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.contrib.operators.teradata_operator import TeradataOperator | |
task = TeradataOperator(sql='query.sql', teradata_conn_id='teradata-prod', task_id='Ejecuta_query_sql', dag=dag) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
May I know how did you create Teradata connection ? Did you define connection based on the Teradata hook (Teradata_hook.sql)that you have created?