manannan2017 opened a new issue #2095: 【predicate push down】When there is an operation, predicate push down fails URL: https://github.com/apache/incubator-doris/issues/2095 1、【When there is an operation, predicate push down fails】 1> select s.k1, s.k2, s.ss from (select k1, k2, sum(k2) over (partition by k1) as ss from baseall)s where s.k1 + s.k2 > 10 group by s.k1, s.k2, s.ss;---no push down 2> select k1, k2, sum(k2) over (partition by k1) as ss from baseall where k1 + k2 > 10 ;---ok push down 2、【Subquery ?】 1> select * from (select s.k1, s.k3, s.ss from (select k1, k3, sum(k2) over (partition by k3) as ss from baseall)s where s.k3 > 1 group by s.k1, s.k3, s.ss)s2 where s2.k1 > 10 and s2.k3 > 8; 2> select * from (select s.k1, s.k3, s.ss from (select k1, k3, sum(k2) over (partition by k1) as ss from baseall)s where s.k3 > 1 group by s.k1, s.k3, s.ss)s2 where s2.k1 > 10 and s2.k3 > 8;
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
