SCD fails to recognise key for update
Posted: Fri Jun 10, 2011 6:57 am
We are trying to use SCD in a very simple job to generate type 2 lines for currencies if the description changes.
The first pass works and we get all the data into the target dimension table, the second pass aborts with the 'Input not sorted at record 18' error across all partitions.
What we have tried.
On input we have hash partitioned and sorted the reference and the source table.
We have done the same operation using a lookup and the data matches.
I feel I am so close but it might be a lot less effort to try and use a lookup with a change capture and copy routine. But I have to do 40 tables like this so I have to ensure the best method is used
Thanks
The first pass works and we get all the data into the target dimension table, the second pass aborts with the 'Input not sorted at record 18' error across all partitions.
What we have tried.
On input we have hash partitioned and sorted the reference and the source table.
We have done the same operation using a lookup and the data matches.
I feel I am so close but it might be a lot less effort to try and use a lookup with a change capture and copy routine. But I have to do 40 tables like this so I have to ensure the best method is used
Thanks