Focal Point
[DUPLICATE]Flow keeps Self-Referencing Output Fields

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5547020386

July 07, 2016, 02:51 PM
John_Edwards
[DUPLICATE]Flow keeps Self-Referencing Output Fields
I'm working a job for data quality analysis where I need to copy 10% of the records from a DB2 data source to and "identical" structure in SQL*Server. This is thousands of fields across hundreds of tables.

So I've created very simple Data Migrator transforms that move DB2's Field_1 into SQL*Server's Field_1, DB2's Field_2 into SQL*Server's Field_2, etc.

Here's the thing. About one out of every 100 fields don't copy, because Data Migrator sees the name Field_1 and interprets it to mean SQL*Server's Field_1 instead of DB2's Field_1. It self-references the target field instead of taking the field of the same name from the source, and the result is that the field doesn't fill.

I fix this by aliasing the field coming from the source so that the names are no longer the same, but when you're doing hundreds of tables and thousands of fields this makes the process of creating the load far more tedious and time-consuming, and not doing it means you have to test and review every table and field.

Is there a button I can check somewhere that says "hide the target fields" when doing the data assignment?

This message has been edited. Last edited by: <Emily McAllister>,