My Oracle Support Banner

Mapping Migrated from OWB to ODI 12c Fails with "ORA-01790: expression must have same datatype as corresponding expression" (Doc ID 2055201.1)

Last updated on SEPTEMBER 26, 2023

Applies to:

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

Symptoms

Using Oracle Warehouse Builder (OWB) to Oracle Data Integrator (ODI) migration utility to migrate a few OWB projects to ODI.

In some of the migrated ODI 12.1.3 Mappings, a column mapping mismatch was observed in the SQL code generated by ODI during the Mapping execution. Hence following one-off patch was applied for resolving the problem:

Patch 20607217 - LKM SQL to File: wrong code if set operator has desc order of attributes

Though now, after having applied the above mentioned patch, the Mapping execution fails and signals:

The behavior occurs after applying Patch 20607217, and consists in a simple Mapping with two set operators, such that output of one set operator is the input of another. Then change the order of attributes in the second set operator, such that the order of attribute data type in the two set operators become different. Execution of this Mapping results in ORA-01790.

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.