Skip to content

[SPARK][Geo][SQL] Enable WKB parsing for Geography#54193

Draft
uros-db wants to merge 1 commit intoapache:masterfrom
uros-db:geo-geography-coordinates
Draft

[SPARK][Geo][SQL] Enable WKB parsing for Geography#54193
uros-db wants to merge 1 commit intoapache:masterfrom
uros-db:geo-geography-coordinates

Conversation

@uros-db
Copy link
Contributor

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

What changes were proposed in this pull request?

Implement Geography coordinate validation in WKB parser:

  • Longitude must be between -180 and 180 (inclusive).
  • Latitude must be between -90 and 90 (inclusive).

Why are the changes needed?

Enable Geography parsing from WKB.

Does this PR introduce any user-facing change?

Yes, Geography coordinate values are now limited to the supported ranges for longitude and latitude.

How was this patch tested?

Added new unit tests.

Was this patch authored or co-authored using generative AI tooling?

Yes.

@github-actions
Copy link

github-actions bot commented Feb 7, 2026

⚠️ Pull Request Title Validation

This pull request title does not contain a JIRA issue ID.

Please update the title to either:

  • Include a JIRA ID: [SPARK-12345] Your description
  • Mark as minor change: [MINOR] Your description

For minor changes that don't require a JIRA ticket (e.g., typo fixes), please prefix the title with [MINOR].


This comment was automatically generated by GitHub Actions

@github-actions github-actions bot added the SQL label Feb 7, 2026
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