<?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>article Spark Job using a tHMapFile component adds an extra newline character in the output file in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Spark-Job-using-a-tHMapFile-component-adds-an-extra-newline/ta-p/2151508</link>
    <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;H1&gt;Problem Description&lt;/H1&gt; 
 &lt;P&gt;The output file generated by the &lt;STRONG&gt;tHMapFile&lt;/STRONG&gt; component in Spark batch Job has an extra newline character after every record.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H1&gt;Root Cause&lt;/H1&gt; 
 &lt;P&gt;Creating a Flat representation adds an &lt;STRONG&gt;__osdtTerminator&lt;/STRONG&gt; element at the end of the file. Also, in a Big Data environment, each output record is seen as its own file by the Flat representation. As a result, you get an extra newline character.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H1&gt;Solution&lt;/H1&gt; 
 &lt;P&gt;Remove the &lt;STRONG&gt;__osdtTerminator&lt;/STRONG&gt;element from the file representation and clear the &lt;STRONG&gt;Output as delimited?&lt;/STRONG&gt; check box in &lt;STRONG&gt;Flat&lt;/STRONG&gt; representation.&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 921px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008uGBGAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/122728i27579B058BAAB413/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008uGBGAA2.png" alt="0693p000008uGBGAA2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
    <dc:creator>TalendSolutionExpert</dc:creator>
    <dc:date>2024-02-09T18:22:49Z</dc:date>
    <item>
      <title>Spark Job using a tHMapFile component adds an extra newline character in the output file</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Spark-Job-using-a-tHMapFile-component-adds-an-extra-newline/ta-p/2151508</link>
      <description>&lt;DIV class="talend-tkb-migrated-content"&gt;&lt;DIV class="lia-message-template-content-zone"&gt; 
 &lt;H1&gt;Problem Description&lt;/H1&gt; 
 &lt;P&gt;The output file generated by the &lt;STRONG&gt;tHMapFile&lt;/STRONG&gt; component in Spark batch Job has an extra newline character after every record.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H1&gt;Root Cause&lt;/H1&gt; 
 &lt;P&gt;Creating a Flat representation adds an &lt;STRONG&gt;__osdtTerminator&lt;/STRONG&gt; element at the end of the file. Also, in a Big Data environment, each output record is seen as its own file by the Flat representation. As a result, you get an extra newline character.&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;H1&gt;Solution&lt;/H1&gt; 
 &lt;P&gt;Remove the &lt;STRONG&gt;__osdtTerminator&lt;/STRONG&gt;element from the file representation and clear the &lt;STRONG&gt;Output as delimited?&lt;/STRONG&gt; check box in &lt;STRONG&gt;Flat&lt;/STRONG&gt; representation.&lt;/P&gt; 
 &lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 921px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000008uGBGAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/122728i27579B058BAAB413/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000008uGBGAA2.png" alt="0693p000008uGBGAA2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 Feb 2024 18:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Spark-Job-using-a-tHMapFile-component-adds-an-extra-newline/ta-p/2151508</guid>
      <dc:creator>TalendSolutionExpert</dc:creator>
      <dc:date>2024-02-09T18:22:49Z</dc:date>
    </item>
  </channel>
</rss>

