-
Notifications
You must be signed in to change notification settings - Fork 758
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 invalid behavior in TableIterator
with hash-collided keys
#41722
Fix invalid behavior in TableIterator
with hash-collided keys
#41722
Conversation
TableIterator
with hash-collided keys
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #41722 +/- ##
============================================
+ Coverage 76.67% 76.70% +0.02%
+ Complexity 52929 52924 -5
============================================
Files 2881 2881
Lines 199440 199434 -6
Branches 25936 25939 +3
============================================
+ Hits 152927 152976 +49
+ Misses 38084 38012 -72
- Partials 8429 8446 +17 ☔ View full report in Codecov by Sentry. |
This PR has been open for more than 15 days with no activity. This will be closed in 3 days unless the |
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.
LGTM
cf9dada
to
bb13478
Compare
Purpose
The current implementation of the TableIterator does not consider hash collisions, as it treats its map implementations to have a one-to-one mapping. Hence, when there are hash-collided keys, the behavior produces invalid error messages.
Fixes #41717
Fixes #41719
Fixes #41721
Fixes #41819
Approach
The PR modifies the map implementation of the
TableValue
class to handle hash collisions in the iterator behavior.Check List