DrillOperator

Apache Drill

Executes the provided SQL in the identified Drill environment.

View on GitHub

Last Updated: Oct. 23, 2022

Access Instructions

Install the Apache Drill provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

sqlthe 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_idid of the connection config for the target Drill environment
parameters(optional) the parameters to render the SQL query with.

Documentation

Executes the provided SQL in the identified Drill environment.

See also

For more information on how to use this operator, take a look at the guide: DrillOperator

Was this page helpful?