-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feat](nereids) add table alias for catalog relation #56802
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
3 similar comments
|
run buildall |
|
run buildall |
|
run buildall |
ClickBench: Total hot run time: 30.58 s |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
1 similar comment
|
run buildall |
TPC-DS: Total hot run time: 190460 ms |
ClickBench: Total hot run time: 30.11 s |
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
|
run buildall |
ClickBench: Total hot run time: 29.99 s |
FE Regression Coverage ReportIncrement line coverage |
|
run feut |
FE UT Coverage ReportIncrement line coverage |
|
run feut |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
yujun777
left a comment
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.
LGTM
### What problem does this PR solve? Related PR: #56802 Problem Summary: `LogicalHudiScan` did not override `withTableAlias()` and `withCachedOutput()` methods, causing HUDI table type information to be lost during optimization, and the table was incorrectly processed as `PhysicalFileScan`.
…he#58413) ### What problem does this PR solve? Related PR: apache#56802 Problem Summary: `LogicalHudiScan` did not override `withTableAlias()` and `withCachedOutput()` methods, causing HUDI table type information to be lost during optimization, and the table was incorrectly processed as `PhysicalFileScan`.
What problem does this PR solve?
This change extends the
tableAliasfeature from the logical plan layer to the physical plan layer, enabling table aliases to be preserved throughout the entire query execution pipeline from SQL parsing to physical execution.When analyzing query execution plans, especially for complex queries where the same table appears multiple times with different aliases, it has been challenging to match scan nodes in the plan back to their corresponding table references in the original SQL.
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)