table_extraction
Module to interact with table extractions.
This module contains class to interact with a table extraction in EMS data integration.
Typical usage example
TableExtraction ¶
Bases: TableExtractionTransport
Table extraction object to interact with table extraction specific data integration endpoints.
data_pool_id
instance-attribute
¶
Id of data pool where table extraction is located.
table_execution_item_id
class-attribute
instance-attribute
¶
table_name
class-attribute
instance-attribute
¶
rename_target_table
class-attribute
instance-attribute
¶
target_table_name
class-attribute
instance-attribute
¶
columns
class-attribute
instance-attribute
¶
joins
class-attribute
instance-attribute
¶
dependent_tables
class-attribute
instance-attribute
¶
dependent_tables: Optional[
List[Optional[TableExtractionTransport]]
] = Field(alias="dependentTables")
use_manual_p_ks
class-attribute
instance-attribute
¶
filter_definition
class-attribute
instance-attribute
¶
delta_filter_definition
class-attribute
instance-attribute
¶
schema_name
class-attribute
instance-attribute
¶
creation_date_column
class-attribute
instance-attribute
¶
creation_date_value_start
class-attribute
instance-attribute
¶
creation_date_value_end
class-attribute
instance-attribute
¶
creation_date_parameter_start
class-attribute
instance-attribute
¶
creation_date_parameter_end
class-attribute
instance-attribute
¶
creation_date_value_today
class-attribute
instance-attribute
¶
change_date_column
class-attribute
instance-attribute
¶
change_date_offset
class-attribute
instance-attribute
¶
change_date_offset_type
class-attribute
instance-attribute
¶
table_extraction_type
class-attribute
instance-attribute
¶
parent_table
class-attribute
instance-attribute
¶
depends_on
class-attribute
instance-attribute
¶
column_value_table
class-attribute
instance-attribute
¶
column_value_column
class-attribute
instance-attribute
¶
column_value_target_column
class-attribute
instance-attribute
¶
column_values_at_a_time
class-attribute
instance-attribute
¶
join_type
class-attribute
instance-attribute
¶
connector_specific_configuration
class-attribute
instance-attribute
¶
connector_specific_configuration: Optional[
List[Optional[TableConfigurationParameterValue]]
] = Field(alias="connectorSpecificConfiguration")
calculated_columns
class-attribute
instance-attribute
¶
calculated_columns: Optional[
List[Optional[CalculatedColumnTransport]]
] = Field(alias="calculatedColumns")
end_date_disabled
class-attribute
instance-attribute
¶
disable_change_log
class-attribute
instance-attribute
¶
data_push_delete_strategy
class-attribute
instance-attribute
¶
data_push_delete_strategy: Optional[
DataPushDeleteStrategy
] = Field(alias="dataPushDeleteStrategy")
customize_column_selection
class-attribute
instance-attribute
¶
mirror_table_names
class-attribute
instance-attribute
¶
selected_columns
class-attribute
instance-attribute
¶
from_transport
classmethod
¶
Creates high-level table extraction object from given TableExtractionTransport.
Parameters:
-
client
(
Client
) –Client to use to make API calls for given table extraction.
-
data_pool_id
(
str
) –Id of data pool where table extraction is located.
-
job_id
(
str
) –Id of job where table extraction is located.
-
extraction_id
(
str
) –Id of extraction where table extraction is located.
-
table_extraction_transport
(
TableExtractionTransport
) –TableExtractionTransport object containing properties of data model execution.
Returns:
-
TableExtraction
–A TableExtraction object with properties from transport and given client.
update ¶
Pushes local changes of data model to EMS and updates properties with response from EMS.
Raises:
-
PyCelonisValueError
–Raised if something went wrong updating the table extraction which could indicate that the table extraction no longer exists or the local state is invalid.