My Oracle Support Banner

"Incorrect syntax" Message Received when using "LKM SQL To Spark" with SQL Server as the Source in ODI 12.2.1.3.0 (Doc ID 2371732.1)

Last updated on SEPTEMBER 14, 2022

Applies to:

Oracle Data Integrator - Version 12.2.1.3.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

In Oracle Data Integrator (ODI) 12.2.1.3.0, a mapping using the Loading Knowledge Module (LKM) titled "LKM SQL to Spark" doesn't work correctly with Microsoft SQL Server (MSSQL) as the source. It reports an "Incorrect syntax" message.

The LKM is preparing the SQL statement and adding a "WHERE 1=0" to the source query. The code is generated as follows:

SELECT * FROM (select col1, col2 FROM dbo.<TABLE NAME>) WHERE 1=0

Changes

 

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
Changes
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.