The list of Reference tables available for TDM tasks is populated in the RefList MTable. TDM 7.6 onwards stores the Reference tables in a dedicated LU: TDM_Reference. Each Reference table is stored as a separate LUI.
Previous TDM versions stored the extracted reference tables in the Cassandra DB: The TDM Extract tasks stored the selected reference data in the Cassandra DB and the TDM Load tasks selected the reference tables from Cassandra and loaded them into the target environment.
The main task execution process runs TDM Broadway flows in order to get the reference table into Fabric (TDM_Reference LU) and loads it into the target environment for a load task.
The job updates the status of the processed reference table in the task_ref_exe_stats TDM DB table:
The LUI contains the following:
[LU name]|[source environment name]|[version id]|[table name]
By default, the version id is populated by ALL. When running a TDM Extract task in Data Versioning mode, this setting is populated by the task_execution_id of the task execution.
Examples:
Note that the Sync method LU property is set by default to None, i.e., each LUI (reference table) is synced only once. You need to edit this property in order to enable a recurring sync of the reference table from the source environment.
The reference_table LU table keeps the reference data. The LU table has the following fields:
Example:
CUSTOMER_TYPE Reference table. This table has 3 fields: CUSTOMER_TYPE, CUSTOMER_SUB_TYPE and DESCRIPTION.
CUSTOMER_TYPE is populated in ENV1 as follows:
CUSTOMER_SUB_TYPE | DESCRIPTION | |
---|---|---|
I | P | Private customer |
B | S |
CUSTOMER_TYPE is populated in ENV2 as follows:
CUSTOMER_SUB_TYPE | DESCRIPTION | |
---|---|---|
I | P | Private customer |
B | S | |
B | M | |
B | C |
Creating and executing an Extract task with a regular mode (Data Versioning checkbox is unchecked) to extract CUSTOMER_TYPE Reference table from ENV1. A new LUI is created in TDM_Reference LU: Customer|ENV1|ALL|CUSTOMER_TYPE.
The LU table is populated as follows:
Creating an Extract Data Versioning task for CUSTOMER_TYPE Reference table on ENV1. A new LUI is created:
The LUI is Customer|ENV1|1234|CUSTOMER_TYPE.
The LU table is populated as follows:
Creating an Extract Task with a regular mode for CUSTOMER_TYPE on ENV2. A new LUI is created:
The LUI is Customer|ENV2|ALL|CUSTOMER_TYPE.
The LU table is populated as follows:
The list of Reference tables available for TDM tasks is populated in the RefList MTable. TDM 7.6 onwards stores the Reference tables in a dedicated LU: TDM_Reference. Each Reference table is stored as a separate LUI.
Previous TDM versions stored the extracted reference tables in the Cassandra DB: The TDM Extract tasks stored the selected reference data in the Cassandra DB and the TDM Load tasks selected the reference tables from Cassandra and loaded them into the target environment.
The main task execution process runs TDM Broadway flows in order to get the reference table into Fabric (TDM_Reference LU) and loads it into the target environment for a load task.
The job updates the status of the processed reference table in the task_ref_exe_stats TDM DB table:
The LUI contains the following:
[LU name]|[source environment name]|[version id]|[table name]
By default, the version id is populated by ALL. When running a TDM Extract task in Data Versioning mode, this setting is populated by the task_execution_id of the task execution.
Examples:
Note that the Sync method LU property is set by default to None, i.e., each LUI (reference table) is synced only once. You need to edit this property in order to enable a recurring sync of the reference table from the source environment.
The reference_table LU table keeps the reference data. The LU table has the following fields:
Example:
CUSTOMER_TYPE Reference table. This table has 3 fields: CUSTOMER_TYPE, CUSTOMER_SUB_TYPE and DESCRIPTION.
CUSTOMER_TYPE is populated in ENV1 as follows:
CUSTOMER_SUB_TYPE | DESCRIPTION | |
---|---|---|
I | P | Private customer |
B | S |
CUSTOMER_TYPE is populated in ENV2 as follows:
CUSTOMER_SUB_TYPE | DESCRIPTION | |
---|---|---|
I | P | Private customer |
B | S | |
B | M | |
B | C |
Creating and executing an Extract task with a regular mode (Data Versioning checkbox is unchecked) to extract CUSTOMER_TYPE Reference table from ENV1. A new LUI is created in TDM_Reference LU: Customer|ENV1|ALL|CUSTOMER_TYPE.
The LU table is populated as follows:
Creating an Extract Data Versioning task for CUSTOMER_TYPE Reference table on ENV1. A new LUI is created:
The LUI is Customer|ENV1|1234|CUSTOMER_TYPE.
The LU table is populated as follows:
Creating an Extract Task with a regular mode for CUSTOMER_TYPE on ENV2. A new LUI is created:
The LUI is Customer|ENV2|ALL|CUSTOMER_TYPE.
The LU table is populated as follows: