Skip to content

Conversation

@uros-db
Copy link
Contributor

@uros-db uros-db commented Oct 24, 2025

What changes were proposed in this pull request?

Added Geography and Geometry accessors to core row/column interfaces, extended codegen and physical type handling to properly recognize geospatial types, enabled writing/reading of Geography and Geometry values in unsafe writer, and added other necessary plumbing for Geography and Geometry in projection/row utilities in order to thread through the new accessors.

Note that the GEOMETRY and GEOGRAPHY physical types were recently included to Spark SQL as part of: #52629.

Why are the changes needed?

To provide first-class support for GEOGRAPHY and GEOMETRY within Catalyst.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Added new tests to:

  • GenerateUnsafeProjectionSuite.scala
  • UnsafeRowWriterSuite.scala

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

No.

@github-actions github-actions bot added the SQL label Oct 24, 2025
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-54021][Geo][SQL] Implement Geography and Geometry accessors across Catalyst [SPARK-54021][SQL] Implement Geography and Geometry accessors across Catalyst Oct 24, 2025
@uros-db
Copy link
Contributor Author

uros-db commented Oct 24, 2025

@mkaravel @szehon-ho @cloud-fan Please review.

@uros-db uros-db changed the title [SPARK-54021][SQL] Implement Geography and Geometry accessors across Catalyst [SPARK-54021][Geo][SQL] Implement Geography and Geometry accessors across Catalyst Oct 24, 2025
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