-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](lateral-view) fix bugs of lateral view with CTE or where clause #7865
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
| // tbl1 | ||
| // tbl1 alias_tbl1 | ||
| // tbl1 alias_tbl1 lateral view explode_split(k1, ",") tmp1 as e1 | ||
| String tblName = name.toSql() + ((aliasSql != null) ? " " + aliasSql : ""); |
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.
Which printing will be mainly affected after the change here?
|
|
||
| @Ignore | ||
| // errCode = 2, detailMessage = Unknown column 'e1' in 'table list' | ||
| public void testLaterViewWithCTEBug() throws Exception { |
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.
Why ignore this single test
|
|
||
| @Ignore | ||
| // errCode = 2, detailMessage = Unknown column 'e1' in 'table list' | ||
| public void testLaterViewUnknowColumnBug() throws Exception { |
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.
Why ignore this single test
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.
I leaves to you to fix it. LOL
EmmyMiao87
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
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
Proposed changes
Issue Number: close #xxx
Problem Summary:
fix bugs of lateral view with CTE or where clause.
The error case can be found in newly added tests in
TableFunctionPlanTest.javaBut there are still some bugs not being fixed, so the unit test is annotated with @ignore
This PR contains the change is #7824 :
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...