Uh oh!
There was an error while loading. Please reload this page.
[BUG](view) fix can't create view with lambda function - #23942
Conversation
zhangstar333
commented
Sep 5, 2023
run buildall |
doris-robot
commented
Sep 5, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
CalvinKirs
commented
Sep 6, 2023
run buildall |
| sb.append("("); | ||
| int childSize = children.size(); | ||
| Expr lastExpr = getChild(childSize - 1); | ||
| boolean lastIsLambdaExpr = (lastExpr instanceof LambdaFunctionExpr); |
There was a problem hiding this comment.
add comment for the code, trickly here
| // array_filter(array, boolean) only implement as lambda function | ||
| // eg: SELECT array_filter(`array_d`, array_map(x -> (x >= 1), `array_d`)) | ||
| // can't as a normal function for BE, need handle by lambda function call expr | ||
| if (fnName.getFunction().equalsIgnoreCase("array_filter")) { |
There was a problem hiding this comment.
better BE support function "array_filter" as function call
doris-robot
commented
Sep 6, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
dbd2758 to
c67cd23Comparezhangstar333
commented
Sep 7, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 7, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 7, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
zhangstar333
commented
Sep 8, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 8, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 8, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
zhangstar333
commented
Sep 8, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 8, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 8, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
zhangstar333
commented
Sep 8, 2023
run buildall |
doris-robot
commented
Sep 8, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 8, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
before the lambda function Expr not implement toSqlImpl() function. so it's call parent function, which is not suit for lambda function. and will be have error when create view.
before the lambda function Expr not implement toSqlImpl() function. so it's call parent function, which is not suit for lambda function. and will be have error when create view.
Proposed changes
before the lambda function Expr not implement toSqlImpl() function.
so it's call parent function, which is not suit for lambda function.
and will be have error when create view.
Issue Number: close #xxx
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...