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

 ##########
 File path: fe/src/main/java/org/apache/doris/analysis/CreateTableStmt.java
 ##########
 @@ -263,6 +266,15 @@ public void analyze(Analyzer analyzer) throws 
AnalysisException, UserException {
                 hasHll = true;
             }
 
+
+            if (columnDef.getAggregateType() == BITMAP_UNION) {
+                if (columnDef.isKey()) {
+                    throw new AnalysisException("BITMAP can't be used as keys, 
" +
+                            "please specify the aggregation type HLL_UNION");
 
 Review comment:
   Update

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