This document outlines a data mapping between source and target tables, including mapping logic to extract date parts like day, month, and year from a TIME_ID string field in the source to corresponding numeric fields in the target, and to calculate quarter in the target using the mapped month. It also lists source and target file/table and field names along with their data types.
This document outlines a data mapping between source and target tables, including mapping logic to extract date parts like day, month, and year from a TIME_ID string field in the source to corresponding numeric fields in the target, and to calculate quarter in the target using the mapped month. It also lists source and target file/table and field names along with their data types.
This document outlines a data mapping between source and target tables, including mapping logic to extract date parts like day, month, and year from a TIME_ID string field in the source to corresponding numeric fields in the target, and to calculate quarter in the target using the mapped month. It also lists source and target file/table and field names along with their data types.
Target Table/File name Target Field names Target DataType Mapping Logic
CDW_OMS_D_TIME TIMEID VARCHAR2(8) Direct move
CDW_OMS_D_TIME DAY NUMBER(2) Get the date part of TIME_ID CDW_OMS_D_TIME MONTH NUMBER(2) Get the Month part of TIME_ID CDW_OMS_D_TIME QUARTER VARCHAR2(8) Calculate using the MONTH column. CDW_OMS_D_TIME YEAR NUMBER(4) Get the year part of TIME_ID Source File Name Source File Column Names Source Data Type CDW_OMS_TIME.txt TIME_KEY STRING(8) CDW_OMS_TIME.txt TIME_KEY STRING(8) CDW_OMS_TIME.txt TIME_KEY STRING(8) CDW_OMS_TIME.txt TIME_KEY STRING(8) CDW_OMS_TIME.txt TIME_KEY STRING(8)