-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 flaky spill stats check in aggregation test #9459
Conversation
✅ Deploy Preview for meta-velox canceled.
|
1fa1ca3
to
e6971b9
Compare
@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
The flaky is due to spill check condition is fragile which is based on whether we have received more than one input at partial aggregation. We shall change to final aggregation and given we have four drivers so it is not guarantee one aggregation has received more than one input row. Since we have recorded the spill injection count, then we just rely on this to check spill stats. This PR also restrict the case that we trigger spill for output memory reservation by checking if table is null or empty
@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@xiaoxmeng merged this pull request in 2b2ef52. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Summary: The flaky is due to spill check condition is fragile which is based on whether we have received more than one input at partial aggregation. We shall change to final aggregation and given we have four drivers so it is not guarantee one aggregation has received more than one input row. Since we have recorded the spill injection count, then we just rely on this to check spill stats. This PR also restrict the case that we trigger spill for output memory reservation by checking if table is null or empty Pull Request resolved: facebookincubator#9459 Reviewed By: mbasmanova Differential Revision: D56043610 Pulled By: xiaoxmeng fbshipit-source-id: 4deaec31e7097a4aa13b695e515ac6baecc4f3ce
The flaky is due to spill check condition is fragile which is based on whether we have received
more than one input at partial aggregation. We shall change to final aggregation and given we
have four drivers so it is not guarantee one aggregation has received more than one input row.
Since we have recorded the spill injection count, then we just rely on this to check spill stats.
This PR also restrict the case that we trigger spill for output memory reservation by checking
if table is null or empty