My Oracle Support Banner

A Mapping Migrated From OWB Fails With "ORA-01790: expression must have same datatype as corresponding expression" In ODI 12C (Doc ID 2055201.1)

Last updated on FEBRUARY 05, 2019

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: 

Caused By: java.sql.SQLSyntaxErrorException: ORA-01790: expression must have same datatype as corresponding expression
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)
  at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)
  ...

 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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.