Skip to content

Conversation

uros-db
Copy link
Contributor

@uros-db uros-db commented Sep 30, 2025

What changes were proposed in this pull request?

Introduce two new logical types to Spark:

  • GeographyType
  • GeometryType

This PR also adds appropriate SQL parsing and JSON serialization logic for the new types.

Why are the changes needed?

Kicking off https://issues.apache.org/jira/browse/SPARK-51658 by adding GEOMETRY and GEOGRAPHY types to Spark.

Does this PR introduce any user-facing change?

Yes, two new logical data types are added as Experimental.

How was this patch tested?

Added new tests to:

  • GeographyTypeSuite
  • GeometryTypeSuite

Also, added appropriate test cases to:

  • DataTypeSuite

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

No.

@github-actions github-actions bot added the SQL label Sep 30, 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.

@mkaravel Please review.

Copy link
Member

@szehon-ho szehon-ho left a comment

Choose a reason for hiding this comment

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

Thanks @uros-db for kicking it off! left some comments/questions as i read it

@uros-db uros-db requested a review from szehon-ho October 6, 2025 11:08
@github-actions github-actions bot added the DOCS label Oct 6, 2025
@uros-db
Copy link
Contributor Author

uros-db commented Oct 7, 2025

Hi folks, please re-review. @szehon-ho @mkaravel

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