"ParseException" Error is Received on ODI 12c Hive Table Creation when Column Name Has Diacritics
(Doc ID 2314621.1)
Last updated on JUNE 16, 2022
Applies to:
Oracle Data Integrator - Version 12.1.2.0.0 to 12.2.1.3.0 [Release 12c]Information in this document applies to any platform.
Symptoms
Having an Oracle Data Integrator (ODI) 12c Mapping to load data from an Oracle table into Hive.
The Oracle source table has column names with diacritics also known as extended ASCII or accented characters, such as:
COMMERCIËLE_KORT
(Observe the diacritic Ë)
The following error is reported:
- on the LKM step when creating the C$ table on Hive side...
- on the IKM step when creating the target table on Hive side...
ODI-1228: Task Create work table-LKM SQL to Hive SQOOP- fails on the target connection <NAME>.
Caused By: java.sql.SQLSyntaxErrorException: [FMWGEN][Hive JDBC Driver][Hive]Error while compiling statement: FAILED: ParseException line 156:16 cannot recognize input near 'LE_KORT' 'STRING' ',' in column type
at weblogic.jdbc.hivebase.ddcp.b(Unknown Source)
at weblogic.jdbc.hivebase.ddcp.a(Unknown Source)
...
... the executed code being:
CREATE TABLE IF NOT EXISTS odi_work_schema.c_<NAME>
(
...
COMMERCIËLE_KORT STRING,
...
)
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 |