<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tSqoopImport additional arguments working partially in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSqoopImport-additional-arguments-working-partially/m-p/2323590#M93407</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am currently working on TOS_BD_6.1.1.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using a tSqoopImport component with java API and it works fine, creating the file I need on the&amp;nbsp;cluster.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, when I try to custom my file, using "Advanced Settings -&amp;gt; Additionnal arguments", I am not able to produce all of the following requirements :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;- fields separated with semicolon&lt;/P&gt; 
&lt;P&gt;- fields enclosed into double quote&lt;/P&gt; 
&lt;P&gt;- escape character \ to be used to escape double quote&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The additionnal arguments I defined are :&lt;/P&gt; 
&lt;P&gt;"codegen.output.delimiters.field" -&amp;gt; ";"&lt;/P&gt; 
&lt;P&gt;"codegen.output.delimiters.enclose" -&amp;gt;&amp;nbsp;"\""&lt;/P&gt; 
&lt;P&gt;"codegen.output.delimiters.escape" -&amp;gt;&amp;nbsp;"\\"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As an example, if I have a row of 3 columns with the following data : banana | ban"ana" | ban"ana&lt;/P&gt; 
&lt;P&gt;I want the file created to be like that : "banana";"ban\"ana\"";"ban\"ana"&lt;/P&gt; 
&lt;P&gt;But only the semicolon works and I got :&amp;nbsp;&lt;SPAN&gt;banana;ban"ana";ban"ana&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can see my tSqoopImport configuration on the 2 screenshots attached.&lt;/P&gt; 
&lt;P&gt;Am I using them wrongly? Or is it a known bug?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I saw this similar topic &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCwWkCAK" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/tsqoopimport-ignores-additional-arguments-D-mapred-job-queue/m-p/27872&lt;/A&gt;&amp;nbsp; but the OP didn't answer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:35:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:35:03Z</dc:date>
    <item>
      <title>tSqoopImport additional arguments working partially</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSqoopImport-additional-arguments-working-partially/m-p/2323590#M93407</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am currently working on TOS_BD_6.1.1.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am using a tSqoopImport component with java API and it works fine, creating the file I need on the&amp;nbsp;cluster.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, when I try to custom my file, using "Advanced Settings -&amp;gt; Additionnal arguments", I am not able to produce all of the following requirements :&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;- fields separated with semicolon&lt;/P&gt; 
&lt;P&gt;- fields enclosed into double quote&lt;/P&gt; 
&lt;P&gt;- escape character \ to be used to escape double quote&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The additionnal arguments I defined are :&lt;/P&gt; 
&lt;P&gt;"codegen.output.delimiters.field" -&amp;gt; ";"&lt;/P&gt; 
&lt;P&gt;"codegen.output.delimiters.enclose" -&amp;gt;&amp;nbsp;"\""&lt;/P&gt; 
&lt;P&gt;"codegen.output.delimiters.escape" -&amp;gt;&amp;nbsp;"\\"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As an example, if I have a row of 3 columns with the following data : banana | ban"ana" | ban"ana&lt;/P&gt; 
&lt;P&gt;I want the file created to be like that : "banana";"ban\"ana\"";"ban\"ana"&lt;/P&gt; 
&lt;P&gt;But only the semicolon works and I got :&amp;nbsp;&lt;SPAN&gt;banana;ban"ana";ban"ana&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can see my tSqoopImport configuration on the 2 screenshots attached.&lt;/P&gt; 
&lt;P&gt;Am I using them wrongly? Or is it a known bug?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I saw this similar topic &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCwWkCAK" target="_self"&gt;https://community.talend.com/t5/Design-and-Development/tsqoopimport-ignores-additional-arguments-D-mapred-job-queue/m-p/27872&lt;/A&gt;&amp;nbsp; but the OP didn't answer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSqoopImport-additional-arguments-working-partially/m-p/2323590#M93407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: tSqoopImport additional arguments working partially</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSqoopImport-additional-arguments-working-partially/m-p/2323591#M93408</link>
      <description>&lt;P&gt;The escape character \ to escape double quote is actually working with the described configuration, but I am still not able to enclose my fields, no matter what character I choose (double quote with "\"", or another one, like "£".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default, what character are escaped&amp;nbsp;? double quote, single quote, etc..., ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to escape them because I may encountered double quote, and special character like \t , \n in the data I extract.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2017 13:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSqoopImport-additional-arguments-working-partially/m-p/2323591#M93408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T13:12:11Z</dc:date>
    </item>
  </channel>
</rss>

