Skip to content

Instantly share code, notes, and snippets.

@flolas
Created October 16, 2017 18:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flolas/5418271ac46badc07bba5ab6e8d592ed to your computer and use it in GitHub Desktop.
Save flolas/5418271ac46badc07bba5ab6e8d592ed to your computer and use it in GitHub Desktop.
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)
@kasulamahesh16
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment