Error in tOracleInput component

Highlighted
Seven Stars

Error in tOracleInput component

Hi,

I am getting below error while trying to extract table content into csv file using tOracleInput component

 

Exception in component tOracleInput_1 (testjob)

java.sql.SQLSyntaxErrorException: ORA-00923: mot-clé FROM absent à l'emplacement prévu

 

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:450)

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399)

at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1017)

at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:655)

at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:249)

at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:566)

at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:202)

at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:45)

at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:766)

at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:897)

at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1034)

at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1244)

at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:420)

[statistics] disconnected

at sun_project.testjob_0_1.testjob.tOracleInput_1Process(testjob.java:651)

at sun_project.testjob_0_1.testjob.runJobInTOS(testjob.java:1118)

at sun_project.testjob_0_1.testjob.main(testjob.java:884)

 

Below is the query fired

"select con.IDNTFR AS IDNTFR from"+context.dwschema+".contract as con where con.rownum < 10"

 

The database connection parameters are configured using context

 

Thanks.


Accepted Solutions
Ten Stars

Re: Error in tOracleInput component

There needs to be a space between "from" and the table name.

All Replies
Ten Stars

Re: Error in tOracleInput component

There needs to be a space between "from" and the table name.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

APIs for Dummies

View this on-demand webinar about APIs....

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog

Why Companies Move to the Cloud: 7 Success Stories

Learn how and why companies are moving to the Cloud

Read Now