You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/04/10 13:50:45 UTC

[GitHub] [incubator-doris] HangyuanLiu opened a new issue #3297: Rewrite some count expr case

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


With regards,
Apache Git Services

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


[GitHub] [incubator-doris] HangyuanLiu closed issue #3297: Rewrite some count expr case

Posted by GitBox <gi...@apache.org>.
HangyuanLiu closed issue #3297: Rewrite some count expr case
URL: https://github.com/apache/incubator-doris/issues/3297
 
 
   

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


With regards,
Apache Git Services

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