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

Fix the SQL join query partition error when deal with too small testdata #207

Merged
merged 1 commit into from
Mar 31, 2018
Merged

Conversation

jiayuasu
Copy link
Member

This PR fixed Issue #193.

Bug description: The original code cannot well handle too small test data for spatial join query. When the user provides some super small test data, (2 or 3 rows per DataFrame), the partition number logic will jump in a wrong fallback setting and eventually pick "-1" as the partition number.

Solution: use a smarter Partition Number Optimizer to select a proper partition number for both input tables of a spatial join query.

@jiayuasu jiayuasu merged commit 3cc5bb3 into apache:master Mar 31, 2018
jiayuasu added a commit that referenced this pull request Mar 31, 2018
Fix the SQL join query partition error when deal with too small testdata
jiayuasu added a commit that referenced this pull request Mar 31, 2018
Fix the SQL join query partition error when deal with too small testdata
jiayuasu pushed a commit that referenced this pull request Jun 7, 2024
* feat: add implementation

* feat: port to flink and spark

* feat: add another declaration to spark DataframeAPI
jiayuasu added a commit that referenced this pull request Jun 7, 2024
* [TASK-92] Add ST_AddMeasure (#207)

* feat: add implementation

* feat: port to flink and spark

* feat: add another declaration to spark DataframeAPI

* Update versions

---------

Co-authored-by: Furqaan Khan <[email protected]>
Kontinuation pushed a commit to Kontinuation/sedona that referenced this pull request Oct 11, 2024
* feat: add implementation

* feat: port to flink and spark

* feat: add another declaration to spark DataframeAPI
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