-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Enhancement] Eliminate non-required unnest computation #55431
Conversation
@Mergifyio rebase |
✅ Branch has been successfully rebased |
31a802d
to
6c31b71
Compare
[FE Incremental Coverage Report]✅ pass : 11 / 11 (100.00%) file detail
|
Signed-off-by: satanson <[email protected]>
6c31b71
to
00ebcd7
Compare
|
[BE Incremental Coverage Report]❌ fail : 4 / 19 (21.05%) file detail
|
[Java-Extensions Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.4 |
@Mergifyio backport branch-3.3 |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.0 |
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
✅ Backports have been created
|
Signed-off-by: satanson <[email protected]> (cherry picked from commit 4be4b5c) # Conflicts: # fe/fe-core/src/test/java/com/starrocks/sql/plan/TableFunctionTest.java
Signed-off-by: satanson <[email protected]> (cherry picked from commit 4be4b5c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/planner/TableFunctionNode.java # fe/fe-core/src/test/java/com/starrocks/sql/plan/TableFunctionTest.java
Signed-off-by: satanson <[email protected]> (cherry picked from commit 4be4b5c) # Conflicts: # fe/fe-core/src/main/java/com/starrocks/planner/TableFunctionNode.java # fe/fe-core/src/test/java/com/starrocks/sql/plan/TableFunctionTest.java
Signed-off-by: satanson <[email protected]> (cherry picked from commit 4be4b5c) # Conflicts: # be/src/exprs/table_function/table_function.h # be/src/exprs/table_function/unnest.h # fe/fe-core/src/main/java/com/starrocks/planner/TableFunctionNode.java # fe/fe-core/src/test/java/com/starrocks/sql/plan/TableFunctionTest.java
Signed-off-by: satanson <[email protected]> (cherry picked from commit 4be4b5c) # Conflicts: # be/src/exec/pipeline/table_function_operator.cpp # be/src/exec/pipeline/table_function_operator.h # be/src/exprs/table_function/table_function.h # be/src/exprs/table_function/unnest.h # fe/fe-core/src/main/java/com/starrocks/planner/TableFunctionNode.java # fe/fe-core/src/main/java/com/starrocks/sql/plan/PlanFragmentBuilder.java # fe/fe-core/src/test/java/com/starrocks/sql/plan/TableFunctionTest.java
) Signed-off-by: satanson <[email protected]>
…rRocks#55431) Signed-off-by: satanson <[email protected]>
) (#55680) Signed-off-by: satanson <[email protected]>
) (#55681) Signed-off-by: satanson <[email protected]>
Why I'm doing:
If table function result is not required to output, then it is not need to compute, instead, we just obtain the number of input param's element then duplicate the required output columns.
With this optimzation, some query can be accelerated significantly.
What I'm doing:
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: