airflow.providers.apache.drill.operators.drill
¶
Module Contents¶
Classes¶
Executes the provided SQL in the identified Drill environment. |
- class airflow.providers.apache.drill.operators.drill.DrillOperator(*, drill_conn_id='drill_default', **kwargs)[source]¶
Bases:
airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator
Executes the provided SQL in the identified Drill environment.
This class is deprecated.
Please use
airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator
.See also
For more information on how to use this operator, take a look at the guide: DrillOperator
- Parameters
sql – the SQL code to be executed as a single string, or a list of str (sql statements), or a reference to a template file. Template references are recognized by str ending in ‘.sql’
drill_conn_id (str) – id of the connection config for the target Drill environment
parameters – (optional) the parameters to render the SQL query with.