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-235] Integrate S2, add ST_S2CellIDs #764

Merged
merged 2 commits into from
Feb 20, 2023
Merged

Conversation

zongsizhang
Copy link
Contributor

@zongsizhang zongsizhang commented Feb 12, 2023

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Add integration with Google S2 into Common https://s2geometry.io/
Add function to cover a geometry with s2Cells and return the corresponding cellIds.
Add spark core and sql functions to generate S2Cells from gemetry.

How was this patch tested?

Add many unit tests in common, sql, flink, and python module

Did this PR include necessary documentation updates?

  • Yes, I am adding a new API. I am using the [current SNAPSHOT version number]

@zongsizhang zongsizhang changed the title [SEDONA-235] Integrate S2, add ST_S2CellIDs [WIP] [SEDONA-235] Integrate S2, add ST_S2CellIDs Feb 12, 2023
common/pom.xml Outdated Show resolved Hide resolved
sql/pom.xml Outdated Show resolved Hide resolved
@zongsizhang
Copy link
Contributor Author

@zongsizhang zongsizhang force-pushed the feature/google-s2 branch 2 times, most recently from cc6c029 to b137832 Compare February 13, 2023 15:35
@jiayuasu
Copy link
Member

@jiayuasu do you know where is this error from? apache/sedona/actions/runs/4157076083/jobs/7191302226#step:18:218

@zongsizhang Sedona R CI is currently failing due to some unknown reason on the dependencies used in Sedona R module. We need our R maintainer to investigate this issue. Please ignore it for now.

@zongsizhang zongsizhang force-pushed the feature/google-s2 branch 5 times, most recently from dbfc075 to ac00006 Compare February 18, 2023 12:46
@zongsizhang zongsizhang changed the title [WIP] [SEDONA-235] Integrate S2, add ST_S2CellIDs [SEDONA-235] Integrate S2, add ST_S2CellIDs Feb 19, 2023
@@ -1101,6 +1101,30 @@ Result:
+---------------------------------------------------------------+
```

## ST_S2CellIDs
Copy link
Member

Choose a reason for hiding this comment

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

Please also add this function to Sedona Flink doc.

@jiayuasu jiayuasu merged commit ef8a0d0 into master Feb 20, 2023
@jiayuasu jiayuasu deleted the feature/google-s2 branch February 20, 2023 17:51
gregleleu pushed a commit to gregleleu/sedona that referenced this pull request Feb 27, 2023
Co-authored-by: zzs-wherobots <zzs-wherobots@ZongsideMac-Studio.local>
Co-authored-by: Zongsi Zhang <zongsi@Zongsis-MacBook-Pro.local>
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

3 participants