Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am unable to do any ingestion of an XML file using tFileInputXML in a Spark batch job.
Here is a simple XML snippet that I am trying to process.
<TBL><ADDR><ID>Home</ID></ADDR><ADDR><ID>Work</ID></ADDR></TBL>
tFileInputXML -> tLogRow is not working.
Code is generated, there are no errors, job runs fine, Spark logs say processed two records, but there are zero records in tLogRow.
Schema is synced and there is no issue with tLogRow.
To isolate the problem, I even tried with other components like tJava and tried this code.
System.out.println(rdd_tJava_1.count());
Record count is zero.
Is there an issue with tFileInputXML in Talend Big Data 7.2, Spark jobs?