xy720 commented on issue #1553: The result of count_distinct() is wrong
URL: 
https://github.com/apache/incubator-doris/issues/1553#issuecomment-569701590
 
 
   Now the `count_distinct()` is with the same symbol as `count()` function, 
which means that `count_distinct()` run as the same code as `count()` function. 
 That's why the above mistakes happen.
   Besides, we already have function `multi_distinct_count()` as an alternative 
to help us calculate "count distinct" of any type value.
   So we don't need `count_distinct()` anymore, we should remove this function.
   
   
现在`count_distinct()`与`count()`函数具有相同的函数签名,这意味着`count_distinct()`与`count()`函数在后台以相同的代码运行,这就是为什么会发生上述错误。
   此外,我们已经有了函数`multi_distinct_count()`来帮助我们计算任何类型值的"count distinct"值。
   所以我们不再需要`count_distinct()`,建议删除这个函数。

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

Reply via email to