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_r315024610
########## File path: docs/documentation/cn/sql-reference/sql-functions/aggregate-functions/bitmap.md ########## @@ -0,0 +1,24 @@ +#BITMAP + +## description +### Syntax + +`BITMAP(expr)` Review comment: 那么可能需要提供一个函数来将一个整形转化为BITMAP,比如TO_BITMAP 那么这里就变成了BITMAP_COUNT(BITMAP_UNION(TO_BITMAP(query_id))) 当然,我们也可以实现一个聚合函数,能够将整形聚合成BITMAP,比如BITMAP_UNION_INTEGER()。 ---------------------------------------------------------------- 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]
