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-497] Fix incorrect fieldNames property of SpatialRDD read from a directory containing multiple shapefiles #1243

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

Kontinuation
Copy link
Member

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

We won't concatenate the schema of all shapefiles when inferring the fieldNames property of the resulting SpatialRDD. This behavior is strange so I changed it to check if all the shapefiles have consistent schema. If there's any concern regarding this change please let me know.

How was this patch tested?

Add new tests for reading multiple shapefiles.

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 February 19, 2024 03:44
@jiayuasu jiayuasu added this to the sedona-1.6.0 milestone Feb 19, 2024
@jiayuasu jiayuasu merged commit 12d3dab into apache:master Feb 19, 2024
46 checks passed
jiayuasu pushed a commit that referenced this pull request Apr 28, 2024
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