Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to import Oracle Clob using tSqoopImport with Java API mode

Hello,

 

I have a Talend Bigdata Standard job, that uses tSqoopImport component with "Java API" mode to import data from Oracle into a Parquet file. It works fine except when I have to import a CLOB column. I am using a query against the source table. I have tried to manually Define the Java Mapping in Advanced properties with no luck.

 

0683p000009LtL4.jpgDefine Java Mappng

 FYI, the CLOB column name's case exactly matches (it's all upper case).

 

I have also tried defining under the "Additional Arguments" section and had no luck as well.

0683p000009Lt7j.jpgAdditional Arguments

The error I get is "[ERROR]: org.apache.sqoop.tool.ImportTool - Import failed: Cannot convert SQL type 2005"

 

It seems to me like a Talend bug. Already spent over 4 hrs on trying several options and giving up on it. Any help would be appreciated. 

 

Thanks

Pradeep.

 

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Solution provided by Talend Support:

In the above scenario, the syntax for Argument and Value must be as below.

 

Argument Name: "map.column.java.JOBDTL_EXTINFO"
Value = "String"

 

 

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Solution provided by Talend Support:

In the above scenario, the syntax for Argument and Value must be as below.

 

Argument Name: "map.column.java.JOBDTL_EXTINFO"
Value = "String"

 

 

Anonymous
Not applicable
Author

Hello,

Thanks for sharing the solution on forum.

Best regards

Sabrina