Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-44732][XML][FOLLOWUP] Partial backport of spark-xml "Shortcut …
…common type inference cases to fail fast" ### What changes were proposed in this pull request? Partial back-port of databricks/spark-xml@994e357?diff=split from spark-xml ### Why are the changes needed? Though no more development was intended on spark-xml, there was a non-trivial improvement to inference speed that I committed anyway to resolve a customer issue. Part of it can be 'backported' here to sync the code. I attached this as a follow-up to the main code port JIRA. There is still, in general, no intent to commit more to spark-xml in the meantime unless it's significantly important. ### Does this PR introduce _any_ user-facing change? No, this should only speed up schema inference without behavior change. ### How was this patch tested? Tested in spark-xml, and will be tested by tests here too Closes #42844 from srowen/SPARK-44732.2. Authored-by: Sean Owen <[email protected]> Signed-off-by: Sean Owen <[email protected]>
- Loading branch information