databricks / spark-xml

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

Restore functionality of ignoreSurroundingSpaces when field is a simple string #637

Closed srowen closed 1 year ago

srowen commented 1 year ago

At some point, strings stopped going through the convertTo() path, and that's what handles ignoreSurroundingSpaces. Fixes https://github.com/databricks/spark-xml/issues/636