Skip to content

Conversation

@uros-db
Copy link
Contributor

@uros-db uros-db commented Nov 3, 2025

What changes were proposed in this pull request?

Add Arrow serialization/deserialization support for Geography and Geometry types.

Why are the changes needed?

Supporting geospatial types for clients (Spark Connect / Thrift Server / etc.) which consume result sets in Arrow format.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Added unit tests:

  • ArrowUtilsSuite
  • ArrowWriterSuite
  • ArrowEncoderSuite

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

No.

uros-db

This comment was marked as outdated.

@uros-db uros-db changed the title [SPARK-54169][Geo][CONNECT] Introduce Geography and Geometry types in Arrow writer [SPARK-54169][Geo][SQL] Introduce Geography and Geometry types in Arrow writer Nov 5, 2025
Copy link
Contributor Author

@uros-db uros-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions github-actions bot added the BUILD label Nov 5, 2025
@uros-db
Copy link
Contributor Author

uros-db commented Nov 6, 2025

All checks good here, ready to merge to master and 4.1.

@cloud-fan
Copy link
Contributor

thanks, merging to master/4.1!

@cloud-fan cloud-fan closed this in d6f1e22 Nov 6, 2025
cloud-fan pushed a commit that referenced this pull request Nov 6, 2025
…ow writer

### What changes were proposed in this pull request?
Add Arrow serialization/deserialization support for `Geography` and `Geometry` types.

### Why are the changes needed?
Supporting geospatial types for clients (Spark Connect / Thrift Server / etc.) which consume result sets in Arrow format.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
Added unit tests:
- `ArrowUtilsSuite`
- `ArrowWriterSuite`
- `ArrowEncoderSuite`

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

Closes #52863 from uros-db/geo-arrow-serde.

Authored-by: Uros Bojanic <[email protected]>
Signed-off-by: Wenchen Fan <[email protected]>
(cherry picked from commit d6f1e22)
Signed-off-by: Wenchen Fan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants