TOS_BD 6.4.1 > tSqoopImport > additional parameters not working

Five Stars

TOS_BD 6.4.1 > tSqoopImport > additional parameters not working

In TOS BD 6.4.1, i use tsqoopiport for importing Oracle tables to HDFS with sqoop.

As i want the striong to be encapsulated with ", i set in tsqoopimport component additional parameters : codegen.output.delimiters.field with ";"

 

Why the generated code is this :

                additionalProperties_tSqoopImport_1.put("codegen.output.delimiters.field", ""+";".codePointAt(0));  
                additionalProperties_tSqoopImport_1.put("codegen.output.delimiters.escape", ""+"\\".codePointAt(0));  

what is codePointAt ? and why the "" in the begining ?

can we modify the generated code permanently ?

 

Laurent

Moderator

Re: TOS_BD 6.4.1 > tSqoopImport > additional parameters not working

Hello,

 It is impossible to edit the code generated for a Talend Job directly.

If you want to include your own Java code in a Job, use one of these methods:

  • Use a tJava, tJavaRow, or tJavaFlex component.
  • Create a routine by right-clicking Routines under Code in the Repository and then clicking Create routine.

Best regards

Sabrina

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now