SCD Types
SCD Types
SCD types
There are many approaches how to deal with SCD. The most
popular are:
Type 3 - Adding a new column. In this type usually only the current and
previous value of dimension is kept in the database. The new value is
loaded into 'current/new' column and the old one into 'old/previous'
column. Generally speaking the history is limited to the number of column
created for storing historical data. This is the least commonly needed
techinque.
Current table:
Customer_I Customer_Nam Customer_Typ
D e e
1 Cust_1 Corporate
Historical table:
Customer_I Customer_Nam Customer_Typ Start_Dat
End_Date
D e e e
01-01- 21-07-
1 Cust_1 Retail
2010 2010
22-07- 17-05-
1 Cust_1 Oher
2010 2012
18-05- 31-12-
1 Cust_1 Corporate
2012 9999
This is more about report testing than ETL testing. Reporting comes at the
end of ETL. No need of ETL testing to test reports . This is also like
Application testing only ( Reports Testing).
There are different types reports available. Various Reporting tools
supports various report types.
Reporting tools are different from ETL Tools ..Ex; SSRS, Data Reports and
Cognos.
Reports will be generated based on the data in the Data Marts,
Repositiories or DWH . Hence source for BI (Business Intelligence reports)
is Data Marts, Repositiories or DWH. As a ETL tester you are responsible
for Data Quality in these sources .