imay commented on a change in pull request #1610: Add bitmap agg type and udaf
URL: https://github.com/apache/incubator-doris/pull/1610#discussion_r315024149
 
 

 ##########
 File path: 
docs/documentation/cn/sql-reference/sql-functions/aggregate-functions/bitmap_union.md
 ##########
 @@ -0,0 +1,41 @@
+#BITMAP_UNION
+
+## description
+### Syntax
+
+`BITMAP_UNION(expr)`
+
+返回 COUNT(DISTINCT col) 结果值的聚合函数。
 
 Review comment:
   我觉得BITMAP_UNION(expr) 返回的仍然是一个Bitmap结构比较好。然后我们在增加一个标量函数BITMAP_COUNT, 
传入的是一个Bitmap类型,然后计算bitmap的值。
   
   这种方式我们能够实现更加灵活的计算。

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