Module Contents



Executes sql code in a specific Exasol database.

class airflow.providers.exasol.operators.exasol.ExasolOperator(*, exasol_conn_id='exasol_default', schema=None, handler=exasol_fetch_all_handler, **kwargs)[source]

Bases: airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator

Executes sql code in a specific Exasol database.

  • 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’

  • exasol_conn_id (str) – reference to a specific Exasol database

  • autocommit – if True, each command is automatically committed. (default value: False)

  • parameters – (optional) the parameters to render the SQL query with.

  • schema (str | None) – (optional) name of the schema which overwrite defined one in connection

  • handler – (optional) handler to process the results of the query

template_fields: Sequence[str] = ('sql', 'exasol_conn_id')[source]
template_ext: Sequence[str] = ('.sql',)[source]
ui_color = '#ededed'[source]
conn_id_field = 'exasol_conn_id'[source]

Was this entry helpful?