Skip to content
Discussion options

You must be logged in to vote

hi @dabla,

There is an airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator which extends the BaseSQLOperator and is the recommended way for running SQL queries.

Docs link: https://airflow.apache.org/docs/apache-airflow-providers-common-sql/stable/operators.html#execute-sql-query

This I believe will allow you to run SQL queries for ODBC type connections too. Can you please use that and check if something is missing there?

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dabla
Comment options

dabla
Jun 21, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature Feature Requests needs-triage label for new issues that we didn't triage yet
4 participants
Converted from issue

This discussion was converted from issue #32046 on June 21, 2023 10:23.