Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-47309][SQL][XML] Fix schema inference issues in XML
### What changes were proposed in this pull request? This PR fixes XML schema inference issues: 1. when there's an empty tag 2. when merging schema for NullType ### Why are the changes needed? Fix a bug ### Does this PR introduce _any_ user-facing change? Yes ### How was this patch tested? Unit tests. There's a follow-up [PR](apache#45411) that introduces comprehensive tests for schema inference. ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#45426 from shujingyang-db/fix-xml-schema-inference. Authored-by: Shujing Yang <shujing.yang@databricks.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
- Loading branch information