"Syntax error, expected something like an 'UDFCALLNAME' keyword between '.' and the 'YEAR' keyword." Error Received when Running ODI Mapping which Connects to Teradata Database

(Doc ID 2410150.1)

Last updated on JUNE 21, 2018

Applies to:

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

Symptoms

Teradata databases have column names which are not accepted by Oracle Data Integrator (ODI).

For example: column YEAR

The "Year" keyword already exists in ODI Studio > Topology > Languages > SQL > Date and time

Running a mapping which connects to a Teradata database results in the following error:

ODI-1228: Task Insert flow into flow table-IKM Teradata Incremental Update- fails on the target connection <TERADATA_SCHEMA>.
Caused By: java.sql.SQLException: [Teradata Database] [TeraJDBC 15.10.00.33] [Error 3707] [SQLState 42000] Syntax error, expected something like an 'UDFCALLNAME' keyword between '.' and the 'YEAR' keyword.
at com.teradata.jdbc.jdbc_4.util.ErrorFactory.makeDatabaseSQLException(ErrorFactory.java:309)

Setting YEAR via ODI Studio > Topology > Languages > SQL > Keyword > Language Element also results in a mapping failure.

This mapping worked previously in ODI version 12.1.3.

Changes

Upgraded from ODIĀ 12.1.3 to 12.2.1.3

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