Friday, September 10, 2010

Pentaho - Fact Incremental Load

Pentaho - Fact Incremental Load



1. Create MapingHistory table to maintain the ETLRun Date


2. Load the MaxDate from Source and LastETLRunDate from MapingHistory Table(Destination).
A)Select MaxSource and Use the proper date convertion
Select job => SetVariables Transformation to hold the "MaxSource" date Value

















3. Do the same for get the MAX ETL Date




















4. Create Mapping to load FactData

a) Substitutevariable in the Source Script and choose "Replace Variable in script"
b) Use "Execute SQl Script" Tranfromation under the Scripting component 
and Select Variable Substitution option












5. Create job to Integrate the GetVariable and FactIncrementalLoad Transformation


No comments: