sandip-db opened a new pull request, #44634: URL: https://github.com/apache/spark/pull/44634
### What changes were proposed in this pull request? Validate XML element name on write. Spark SQL permits spaces in field names and they may even start with number or special characters. These field names cannot be converted to XML element names. This PR adds validation to throw error on non-compliant XML element names. This applies only to XML write. Validation is on by default. User can choose to disable this validation. ### Why are the changes needed? Same as above ### Does this PR introduce _any_ user-facing change? Yes ### How was this patch tested? New unit test ### Was this patch authored or co-authored using generative AI tooling? No -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
