Skip to content

[SPARK-55981][SQL] Allow Geo Types with SRID's fro the pre-built registry#54780

Open
szehon-ho wants to merge 6 commits intoapache:masterfrom
szehon-ho:srid
Open

[SPARK-55981][SQL] Allow Geo Types with SRID's fro the pre-built registry#54780
szehon-ho wants to merge 6 commits intoapache:masterfrom
szehon-ho:srid

Conversation

@szehon-ho
Copy link
Member

@szehon-ho szehon-ho commented Mar 13, 2026

What changes were proposed in this pull request?

This is based on PR: #54571, which pre-compiles a list of SRID's from Proj.

Once that is in, we can activate these SRID's in the Geometry and Geography types

We also have some overrides to support OGC standard as well.

Note: some of these changes were from @uros-db initially in #54543, thanks!

Why are the changes needed?

Support standard SRID's for new Geo types

Does this PR introduce any user-facing change?

Geo types not released yet

How was this patch tested?

Add unit tests

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

Yes

@szehon-ho szehon-ho force-pushed the srid branch 2 times, most recently from 279e515 to 0022bca Compare March 16, 2026 22:50
* its SRID.
*/
@Test
public void testMapValidity() {
Copy link
Member Author

Choose a reason for hiding this comment

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

chat with @uros-db offline, its not worth it to check in a list of all expected srid/crs (which somewhat duplicates the already checked-in registry), so adding just some sanity checks

@szehon-ho szehon-ho force-pushed the srid branch 2 times, most recently from b791d3c to 2eb42d1 Compare March 20, 2026 22:21
@szehon-ho szehon-ho force-pushed the srid branch 2 times, most recently from 68a78bc to e8db023 Compare March 21, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant