You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[branch-53] fix: move overflow guard before dense ratio in hash join to prevent overflows (#20998) (#21008)
(cherry picked from commit e74e58f)
I confirmed that this fixed CometFuzzTestSuite "join" which found the
original issue while testing `branch-53`.
## Which issue does this PR close?
- Closes#20995.
## Rationale for this change
#20995 has details but it is very straightforward. `dense_ratio`
calculation overflows since overflow guard is after not before
## What changes are included in this PR?
Prevent hash join overflow and unit test for it
- backports #20998 from
@buraksenn
## Are these changes tested?
Added a test case for both min and max scenario
Co-authored-by: Burak Şen <buraksenb@gmail.com>
0 commit comments