Skip to content

Conversation

@uros-db
Copy link
Contributor

@uros-db uros-db commented Feb 3, 2026

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 (#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.

@github-actions github-actions bot added the SQL label Feb 3, 2026
@uros-db uros-db changed the title [MINOR][Geo][SQL] Remove redundant GeometryType/GeographyType case in XmlFileFormat.supportDataType [MINOR][Geo][SQL] Remove redundant Geo case in XML data source Feb 3, 2026
@uros-db uros-db marked this pull request as draft February 3, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant