starrocks
starrocks copied to clipboard
[Enhancement] Use shuffle bucket join to reduce data shuffle
What type of PR is this:
- [ ] bug
- [ ] feature
- [x] enhancement
- [ ] refactor
- [ ] others
Which issues of this PR fixes :
Fixes #9790
Problem Summary(Required) :
Main change:
- Satisty requirement for SHFFLE_JOIN property, hash by column A can satisfy hash by A,B columns
- check plan is legal for shuffle join in ChildOutputPropertyGuarantor. if not, add or modify the enforcer to be legal
Checklist:
- [ ] I have added test cases for my bug fix or my new feature
- [ ] I have added user document for my new feature or new function
run starrocks_fe_unittest
[FE PR Coverage Check]
:heart_eyes: pass : 50 / 55 (90.91%)
file detail
| path | covered_line | new_line | coverage | not_covered_line_detail | |
|---|---|---|---|---|---|
| :large_blue_circle: | com/starrocks/sql/optimizer/ChildOutputPropertyGuarantor.java | 49 | 54 | 90.74% | [146, 147, 148, 149, 150] |
| :large_blue_circle: | com/starrocks/sql/optimizer/base/HashDistributionDesc.java | 1 | 1 | 100.00% | [] |
run starrocks_admit_test
run starrocks_admit_test







