Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEDONA-470] Distinguish between missing or null crs from the result of geoparquet.metadata #1211

Merged

Conversation

Kontinuation
Copy link
Member

@Kontinuation Kontinuation commented Jan 20, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

This PR makes geoparquet files with null or missing crs fields show different results when inspecting using geoparquet.metadata file format. Please refer to the JIRA ticket for details.

This is done by adding a postprocessing after parsing the geo metadata using json4s. I've not found any other way yet so I decided to keep it that way.

How was this patch tested?

Add new tests and also tested manually using Apache Spark 3.5.

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the docs.

@Kontinuation Kontinuation marked this pull request as ready for review January 22, 2024 02:33
@jiayuasu jiayuasu added this to the sedona-1.6.0 milestone Jan 22, 2024
@jiayuasu jiayuasu merged commit bedea9a into apache:master Jan 22, 2024
46 checks passed
jiayuasu pushed a commit that referenced this pull request Apr 28, 2024
…of geoparquet.metadata (#1211)

* geoparquet.metadata should show distinct output for missing crs and null crs.

* Apply the patch to Spark 3.4 and Spark 3.5
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.

None yet

2 participants