I have stored a pyspark sql dataframe in parquet format. Now I want to save it as xml format also. How can I do this? Solution for directly saving the pyspark sql dataframe in xml or converting the parquet to xml anything will work for me. Thanks in advance.
You can map each row to a string with xml separators, then save as text file
How to save a pyspark sql DataFrame in xml format