mercredi 16 septembre 2020

Test-Posting for review

Tried generating the xml using

INFO : Ended Job = job_1598459786946_6501 As you see a parent will have child(s) and a child node may have grandchild(s) nodes.

https://github.com/databricks/spark-xml#conversion-from-dataframe-to-xml

I understand from spark-xml that when we have an nested array structure the data-frame should be as below.

Can you please help me with this small example on how to make a flattened DataFrame for my desired xml. I am working on Spark 2.X Spark-Xml 0.4.5(Latest)

Aucun commentaire:

Enregistrer un commentaire