-
Notifications
You must be signed in to change notification settings - Fork 56
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
Better size estimate for SpatialJoin
#1555
Better size estimate for SpatialJoin
#1555
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1555 +/- ##
==========================================
- Coverage 88.47% 88.46% -0.02%
==========================================
Files 364 364
Lines 27534 27540 +6
Branches 3714 3715 +1
==========================================
+ Hits 24362 24363 +1
- Misses 1940 1945 +5
Partials 1232 1232 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can further improve this.
…tialjoin-size-estimate
Conformance check passed ✅No test result changes. |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for this quick fix.
Up until now the
SpatialJoin
class always returned the product of the sizes of both children as its own size estimate. For a k-nearest-neighbor join this is usually way larger than the actual maximum size of the result. This PR implements a more precise size estimate.