great_expectations.execution_engine.sqlalchemy_batch_data

Module Contents

Classes

SqlAlchemyBatchData(execution_engine, record_set_name: str = None, schema_name: str = None, table_name: str = None, query: str = None, selectable=None, create_temp_table: bool = True, temp_table_name: str = None, temp_table_schema_name: str = None, use_quoted_name: bool = False, source_table_name: str = None, source_schema_name: str = None)

A class which represents a SQL alchemy batch, with properties including the construction of the batch itself

great_expectations.execution_engine.sqlalchemy_batch_data.sa
great_expectations.execution_engine.sqlalchemy_batch_data.logger
class great_expectations.execution_engine.sqlalchemy_batch_data.SqlAlchemyBatchData(execution_engine, record_set_name: str = None, schema_name: str = None, table_name: str = None, query: str = None, selectable=None, create_temp_table: bool = True, temp_table_name: str = None, temp_table_schema_name: str = None, use_quoted_name: bool = False, source_table_name: str = None, source_schema_name: str = None)

Bases: great_expectations.execution_engine.execution_engine.BatchData

A class which represents a SQL alchemy batch, with properties including the construction of the batch itself and several getters used to access various properties.

property sql_engine_dialect(self)

Returns the Batches’ current engine dialect

property record_set_name(self)
property source_table_name(self)
property source_schema_name(self)
property selectable(self)
property use_quoted_name(self)
_create_temporary_table(self, temp_table_name, query, temp_table_schema_name=None)

Create Temporary table based on sql query. This will be used as a basis for executing expectations. :param query: