Beruflich Dokumente
Kultur Dokumente
Slowly growing targets (only inserts no updates in incremental loading) Slowly changing dimensions
Type I Keep latest record Type II Keep history - Keep new flag - use version no - use BEGIN DT & END DT
Stream 1 1. Generate new id (SEQ ) and current flag =1 2. Pass thru target lookup to get primarykey =null 3. Pass thru Detect change expression - newflag=TRUE from 4. Pass thur FILTER WITH newFlag=TRUE 5. Pass thru Ust as DD_INSERT 6. Insert with current flag=1
Stream 1 1. Generate new id (SEQ ) and version =0 2. Pass thru target lookup to get primarykey =null 3. Pass thru Detect change expression newflag=TRUE from 4. Pass thur FILTER WITH newFlag=TRUE 5. Pass thru Ust as INSERT 6. Insert with version=0
Stream 2 1. Generate new id (SEQ ) and version =0 2. Pass thru target lookup to get primarykey =NOT null 3. Pass thru Detect change expression - changedFlag=TRUE from 4. Pass thur FILTER WITH changedFlag=TRUE 5. Pass thru UPDATE ST as DD_INSERT 6. Exp - Generate PRIMARY KEY as +1 , take same as version 7. INSERT with new version