airflow.providers.exasol.operators.exasol¶
Classes¶
Executes sql code in a specific Exasol database. |
Module Contents¶
- 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.
- 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’
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: collections.abc.Sequence[str] = ('sql', 'exasol_conn_id')[source]¶
- template_ext: collections.abc.Sequence[str] = ('.sql',)[source]¶