LiBinfeng-01 opened a new pull request, #32382:
URL: https://github.com/apache/doris/pull/32382
cherry-pick: #32286
- fix syntax problems of only one table used in leading or mistake usage of
brace example: leading(t1),leading(t1 {t2})
- fix cte used in subquery of using leading example: with cte as (select c1
from t1) select count(*) from t1 join (select /*+ leading(cte t2) */ c2 from t2
join cte on c2 = cte.c1) as alias on t1.c1 = alias.c2; which cte used in
subquery and subquery also have leading
- fix data mismatched with original plan cause of on predicate push to
nullable side example: select count(*) from t1 left join t2 on c1 > 500 and c2
> 500 can not change to select count(*) from t1 left join t2 on c2 > 500 where
c1 > 500
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]