ODI 12.1.3 IKM Oracle Control Append Generates Wrong Code When Flow Control Is Off (Doc ID 2017363.1)

Last updated on MAY 12, 2017

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

The Oracle Data Integrator (ODI) "IKM Oracle Control Append" generates incorrect SQL code when Variables are used in the Mapping, and the "Flow Control" is turned off.

More precisely, the column alias refers to another column than the expected one:

...
FROM (
select
:MyProjectCode.Var_LOAD_ID       LOAD_ID,
:MyProjectCode.Var_LOAD_ID
       E_LOAD_DATE,
:MyProjectCode.Var_E_LOAD_DATE
   START_DATE,
SRC_TEMP.START_DATE
              PRODUCT_ID,
SRC_TEMP.PRODUCT_ID
             PRODUCT_NAME,
SRC_TEMP.PRODUCT_NAME
            PRODUCT_PRICE,
SRC_TEMP.PRODUCT_PRICE
           ...
from mySchema.SRC_TEMP SRC_TEMP
where (1=1)
)  ODI_GET_FROM ...

Cause

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