The list of Reference tables available for TDM tasks is populated in the trnRefList translation object. TDM Extract tasks store the selected Reference data in the Cassandra DB and the TDM Load tasks select the Reference tables from Cassandra and load them into the target.
This job is executed on each Reference table by the main task execution process of the Extract task and populates the Reference table in the Cassandra DB. It selects the data of the Reference table from the source DB. The source DB Interface Name and Schema Name settings are taken from trnRefList. The job creates the Reference Cassandra table - in case it does not exist - and then selects the data from the source table and populates it into the Cassandra table.
The job updates the status of the processed Reference table in the task_ref_exe_stats TDM DB table:
TDM Extract tasks can either extract data from different source environments or create different versions of a selected Reference table. As a result, each Cassandra table, which is created for a Reference table, must store different versions of the Reference table. Each such Cassandra table contains the following columns with the purpose of storing Reference data for different source environments and different versions:
The PK (primary key) of each Cassandra table consists of the following columns:
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 setting is cleared) to extract CUSTOMER_TYPE Reference table from ENV1. The Cassandra table is populated as follows:
Creating an Extract Data Versioning task for CUSTOMER_TYPE Reference table on ENV1. The records of the created version are added to the Cassandra table:
Create an Extract Task with a regular mode for CUSTOMER_TYPE on ENV2:
The source data of ENV1 is updated and a new record is added to CUSTOMER_TYPE table for a Government customer type.
Execute again the regular Extract Task for CUSTOMER_TYPE on ENV1 again:
The list of Reference tables available for TDM tasks is populated in the trnRefList translation object. TDM Extract tasks store the selected Reference data in the Cassandra DB and the TDM Load tasks select the Reference tables from Cassandra and load them into the target.
This job is executed on each Reference table by the main task execution process of the Extract task and populates the Reference table in the Cassandra DB. It selects the data of the Reference table from the source DB. The source DB Interface Name and Schema Name settings are taken from trnRefList. The job creates the Reference Cassandra table - in case it does not exist - and then selects the data from the source table and populates it into the Cassandra table.
The job updates the status of the processed Reference table in the task_ref_exe_stats TDM DB table:
TDM Extract tasks can either extract data from different source environments or create different versions of a selected Reference table. As a result, each Cassandra table, which is created for a Reference table, must store different versions of the Reference table. Each such Cassandra table contains the following columns with the purpose of storing Reference data for different source environments and different versions:
The PK (primary key) of each Cassandra table consists of the following columns:
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 setting is cleared) to extract CUSTOMER_TYPE Reference table from ENV1. The Cassandra table is populated as follows:
Creating an Extract Data Versioning task for CUSTOMER_TYPE Reference table on ENV1. The records of the created version are added to the Cassandra table:
Create an Extract Task with a regular mode for CUSTOMER_TYPE on ENV2:
The source data of ENV1 is updated and a new record is added to CUSTOMER_TYPE table for a Government customer type.
Execute again the regular Extract Task for CUSTOMER_TYPE on ENV1 again: