airflow.providers.exasol.operators.exasol¶
Module Contents¶
-
class
airflow.providers.exasol.operators.exasol.ExasolOperator(*, sql: str, exasol_conn_id: str = 'exasol_default', autocommit: bool = False, parameters: Optional[dict] = None, schema: Optional[str] = None, **kwargs)[source]¶ Bases:
airflow.models.BaseOperatorExecutes sql code in a specific Exasol database
- Parameters
sql (Can receive a str representing a sql statement, a list of str (sql statements), or reference to a template file. Template reference are recognized by str ending in '.sql') -- the sql code to be executed. (templated)
exasol_conn_id (string) -- reference to a specific Exasol database
autocommit (bool) -- if True, each command is automatically committed. (default value: False)
parameters (dict) -- (optional) the parameters to render the SQL query with.
schema (string) -- (optional) name of the schema which overwrite defined one in connection