doris
doris copied to clipboard
[Feat](nereids) add max/min filter push down rewrite rule
add rewrite rule: select id, max(a) from t group by id having max(a)>10; -> select id, max(a) from t where a>10 group by id; select id, min(a) from t group by id having min(a)<10; -> select id, min(a) from t where a<10 group by id;