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-471] Support adding pandas df to SedonaKepler if geometry column is not present #1233

Merged
merged 35 commits into from
Feb 8, 2024

Conversation

iGN5117
Copy link
Contributor

@iGN5117 iGN5117 commented Feb 7, 2024

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

  • Support adding pandas df to SedonaKepler if geometry column is not present

How was this patch tested?

  • Wrote new tests

Did this PR include necessary documentation updates?

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

 into develop_Nilesh_1.5.1

# Conflicts:
#	python/tests/sql/test_dataframe_api.py
#	spark/common/src/main/scala/org/apache/sedona/sql/UDF/Catalog.scala
#	spark/common/src/test/scala/org/apache/sedona/sql/dataFrameAPITestScala.scala
# Conflicts:
#	spark/common/src/main/scala/org/apache/spark/sql/sedona_sql/strategy/join/JoinQueryDetector.scala
#	spark/common/src/test/scala/org/apache/sedona/sql/BroadcastIndexJoinSuite.scala
#	spark/common/src/test/scala/org/apache/sedona/sql/TestBaseScala.scala
#	spark/common/src/test/scala/org/apache/sedona/sql/predicateJoinTestScala.scala
@jiayuasu jiayuasu added this to the sedona-1.6.0 milestone Feb 7, 2024
@jiayuasu jiayuasu merged commit 712a284 into apache:master Feb 8, 2024
24 checks passed
jiayuasu pushed a commit that referenced this pull request Apr 28, 2024
…umn is not present (#1233)

* Add ST_DWithin

* Add documentation for ST_DWithin

* Remove unwanted code

* removed null check test for ST_DWithin

* Fix EOF lint error

* Add explanation for ST_DWithin

* Remove CRS checking logic in ST_DWithin

* Add optimized join support for ST_DWithin

* Remove test change to resourceFolder

* remove unnecessary cast to double

* Add broadcast join test

* Add example of ST_DWithin in Optimizer.md

* Add useSpheroid version to ST_DWithin | Add optimized join support

* remove accidental resourceFolder change

* Fix mistake in making useSpheroid optional in ST_DWithin

* Fix incorrect test data in test_dataframe_api.py

* fix failing test in test_predicate.py

* Address PR changes | Move ST_DWithin to DistanceJoin

* fix failing test

* Remove randomness from sphere test case generation

* Refactor documentation of ST_DWithin

* revert resourceFolder path

* Handle complex boolean expressions in ST_DWithin

* add a blanket try catch for ST_DWithin to handle complex boolean expressions

* add collect to the python test

* replace head() with count()

* Add null check for geometry column while adding a df to keplergl

* Revert "Add null check for geometry column while adding a df to keplergl"

This reverts commit 5352fb9.

* Add null check for geometry column while adding df to keplergl

* support adding pandas df to sedonaKepler and SedonaPyDeck if geometry column is not available
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