DrillOperator

Apache Drill

Executes the provided SQL in the identified Drill environment.

View on GitHub

Last Updated: Aug. 30, 2021

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

sqlRequiredCan receive a str representing a sql statement, a list of str (sql statements), or a reference to a template file. Template references are recognized by str ending in ‘.sql’the SQL code to be executed. (templated)
drill_conn_idstrid of the connection config for the target Drill environment
parametersdict or iterable(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?