uros-db opened a new pull request, #54116: URL: https://github.com/apache/spark/pull/54116
### What changes were proposed in this pull request? Following up on the original PR for disallowing Geo types in all file-based data sources except Parquet (https://github.com/apache/spark/pull/54038), this minor PR removes the redundant case from XML file format. ### Why are the changes needed? The explicit case for `GeometryType` and `GeographyType` returning false is unnecessary here since the default case already handles all unsupported types at this moment. Also, XML is generally governed by XSD (XML Schema Definition), which does not include geospatial types as part of its standard type system at all, so there's no need to explicitly exclude them. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests suffice. ### 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]
