imay commented on a change in pull request #3768:
URL: https://github.com/apache/incubator-doris/pull/3768#discussion_r435656472



##########
File path: fe/src/main/java/org/apache/doris/analysis/ColumnDef.java
##########
@@ -131,6 +131,16 @@ public void analyze(boolean isOlap) throws 
AnalysisException {
 
         Type type = typeDef.getType();
 
+        // disable Bitmap Hll type in keys, values without aggregate function.
+        if ( type.isBitmapType() || type.isHllType() ){
+            if (isKey){

Review comment:
       ```suggestion
               if (isKey) {
   ```

##########
File path: fe/src/main/java/org/apache/doris/analysis/ColumnDef.java
##########
@@ -131,6 +131,16 @@ public void analyze(boolean isOlap) throws 
AnalysisException {
 
         Type type = typeDef.getType();
 
+        // disable Bitmap Hll type in keys, values without aggregate function.
+        if ( type.isBitmapType() || type.isHllType() ){

Review comment:
       Should keep code style with original code.
   ```suggestion
           if (type.isBitmapType() || type.isHllType()) {
   ```




----------------------------------------------------------------
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:
us...@infra.apache.org



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

Reply via email to