HangyuanLiu opened a new issue #3297: Rewrite some count expr case
URL: https://github.com/apache/incubator-doris/issues/3297
 
 
   Query statements such as “select min(user_id) from test having count(1) > 0“ 
may be generated by some BI tools. But having(count(1)) > 0 doesn't make sense. 
It's a constant of true. But it add a count aggregation. So we can replace it 
by rewriting the rule.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to