<?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 tFileInputXML, Spark in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileInputXML-Spark/m-p/2289715#M63068</link>
    <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am unable to do any ingestion of an XML file using tFileInputXML in a Spark batch job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple XML snippet that I am trying to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TBL&amp;gt;&amp;lt;ADDR&amp;gt;&amp;lt;ID&amp;gt;Home&amp;lt;/ID&amp;gt;&amp;lt;/ADDR&amp;gt;&amp;lt;ADDR&amp;gt;&amp;lt;ID&amp;gt;Work&amp;lt;/ID&amp;gt;&amp;lt;/ADDR&amp;gt;&amp;lt;/TBL&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tFileInputXML -&amp;gt; tLogRow is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code is generated, there are no errors, job runs fine, Spark logs say processed two records, but there are zero records in tLogRow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schema is synced and there is no issue with tLogRow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To isolate the problem, I even tried with other components like tJava and tried this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.out.println(rdd_tJava_1.count());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record count is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue with tFileInputXML in Talend Big Data 7.2, Spark jobs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:33:51 GMT</pubDate>
    <dc:creator>csapparapu</dc:creator>
    <dc:date>2024-11-16T01:33:51Z</dc:date>
    <item>
      <title>tFileInputXML, Spark</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileInputXML-Spark/m-p/2289715#M63068</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am unable to do any ingestion of an XML file using tFileInputXML in a Spark batch job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a simple XML snippet that I am trying to process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;TBL&amp;gt;&amp;lt;ADDR&amp;gt;&amp;lt;ID&amp;gt;Home&amp;lt;/ID&amp;gt;&amp;lt;/ADDR&amp;gt;&amp;lt;ADDR&amp;gt;&amp;lt;ID&amp;gt;Work&amp;lt;/ID&amp;gt;&amp;lt;/ADDR&amp;gt;&amp;lt;/TBL&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tFileInputXML -&amp;gt; tLogRow is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code is generated, there are no errors, job runs fine, Spark logs say processed two records, but there are zero records in tLogRow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schema is synced and there is no issue with tLogRow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To isolate the problem, I even tried with other components like tJava and tried this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System.out.println(rdd_tJava_1.count());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Record count is zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an issue with tFileInputXML in Talend Big Data 7.2, Spark jobs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:33:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileInputXML-Spark/m-p/2289715#M63068</guid>
      <dc:creator>csapparapu</dc:creator>
      <dc:date>2024-11-16T01:33:51Z</dc:date>
    </item>
  </channel>
</rss>

