databricks / spark-xml

XML data source for Spark SQL and DataFrames
Apache License 2.0
500 stars 226 forks source link

Add arrayElementName option #603

Closed srowen closed 2 years ago

srowen commented 2 years ago

This adds an arrayElementName option that controls the XML element name used when outputting "anonymous" arrays in a DataFrame. It still defaults to item.