Variable Value is Used at Target by ODI when a Variable is Named the Same as a Source Column
Last updated on JUNE 25, 2018
Applies to:Oracle Data Integrator - Version 188.8.131.52.0 and later
Information in this document applies to any platform.
In an Oracle Data integrator (ODI) 184.108.40.206.0 Mapping when loading a table using LKM, if the source table column has the same name as a variable, then the target table column which is mapped into this source table column will have values from the variable.
For example, if I_TEST is:
- The name of an ODI Variable (Project or Global - in the below lines of code, the Variable has been defined in a Project MYPROJECT)
- The name of a column in a mapping source Datastore
When executing the Mapping, the code generated by ODI on the "Load data" LKM step incorrectly refers to the Variable instead of the Datastore column name:
- Command executed on **source**:
- Command executed on **target**:
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms