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/07/29 17:47:28 UTC

[GitHub] [incubator-doris] liutang123 opened a new issue #4200: Rewrite count(distinct if(bool, bitmap, null)) to bitmap_union_count

liutang123 opened a new issue #4200:
URL: https://github.com/apache/incubator-doris/issues/4200


   Some time, users want to execute a sql like follows:
   ```
   select count(distinct if(id = 1, id2, null)) , count(distinct id2) from test.bitmap_table
   ```
   Now, `IF` Expr will return decimal type and the result is meaningless.


----------------------------------------------------------------
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



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


[GitHub] [incubator-doris] morningman closed issue #4200: Rewrite count(distinct if(bool, bitmap, null)) to bitmap_union_count

Posted by GitBox <gi...@apache.org>.
morningman closed issue #4200:
URL: https://github.com/apache/incubator-doris/issues/4200


   


----------------------------------------------------------------
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



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