-
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: Fix the memory reclaim bytes for hash join #11642
Conversation
✅ Deploy Preview for meta-velox canceled.
|
This pull request was exported from Phabricator. Differential Revision: D66437719 |
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.
Thanks for the improvement. Should we have a test for checking node level reclaimed memory?
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Differential Revision: D66437719
aa2fafd
to
157188f
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Differential Revision: D66437719
157188f
to
01f2833
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Differential Revision: D66437719
01f2833
to
66ddc22
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Differential Revision: D66437719
66ddc22
to
978be89
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
978be89
to
a14fd2f
Compare
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719
a14fd2f
to
b739c19
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719
b739c19
to
8ea38ee
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719
8ea38ee
to
0702c8c
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
) Summary: Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719
0702c8c
to
fbfb1c1
Compare
This pull request was exported from Phabricator. Differential Revision: D66437719 |
This pull request has been merged in 1ce3c7a. |
) Summary: Pull Request resolved: facebookincubator#11642 Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719 fbshipit-source-id: 4ac7bb9cf87b4346d234ef5f7c04ed64ee12d249
) Summary: Pull Request resolved: facebookincubator#11642 Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is actually reclaimed from build side pool instead of probe side. This PR also removes the unused wait for spill state from hash build Reviewed By: bikramSingh91, tanjialiang Differential Revision: D66437719 fbshipit-source-id: 4ac7bb9cf87b4346d234ef5f7c04ed64ee12d249
Summary:
Both hash join and probe does the coordinated spill so we shouldn't report the reclaimed bytes from a single node
but shall report from the plan node. Also probe side spill might spill built table from join side and the memory is
actually reclaimed from build side pool instead of probe side.
This PR also removes the unused wait for spill state from hash build
Differential Revision: D66437719