feiniaofeiafei opened a new pull request, #42199: URL: https://github.com/apache/doris/pull/42199
this pr do 2 things: 1.support pull up predicates from aggregate min/max/avg. e.g. ```sql select * from (select avg(c) c1 from test_like1 where c<=10 group by a ) t inner join test_like2 t2 on t.c1=t2.a; ``` c<=10 pull up from aggregate to avg(c)<=10, and then pull up from aggregate to t.c1<=10, and with equal join condition,can infer predicate t2.a<=10. 2. carry qualifier when pull up from projects, before this pr, c1<=10 pull up from project to c1<=10. after this pr, c1<=10 pull up from project to t.c1<=10. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org