Comparing two tables with same metadata
Posted: Wed Dec 28, 2011 4:37 pm
Hi Everyone
We are trying to compare two tables with same structure from different schemas. We have about 300 tables in both schemas. Instead of developing separate jobs, we want to build a single common job with run time column propagation on and loop the table names through the sequencer.
I have built a parallel job,
Oracle connector stage from both the schemas as input - Difference stage - Target table (differences are loaded)
The challenge I am facing here is configuring the difference stage, Difference stage is expecting key column and if create a single job how can I update the key column dynamically in difference stage (as key column varies from table to table)?
Or do I need to use any other stage so that I can reuse the same common job? Please suggest any best possible solution to achieve this.
Thank you all in advance
We are trying to compare two tables with same structure from different schemas. We have about 300 tables in both schemas. Instead of developing separate jobs, we want to build a single common job with run time column propagation on and loop the table names through the sequencer.
I have built a parallel job,
Oracle connector stage from both the schemas as input - Difference stage - Target table (differences are loaded)
The challenge I am facing here is configuring the difference stage, Difference stage is expecting key column and if create a single job how can I update the key column dynamically in difference stage (as key column varies from table to table)?
Or do I need to use any other stage so that I can reuse the same common job? Please suggest any best possible solution to achieve this.
Thank you all in advance