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_r312307839
##########
File path: fe/src/main/java/org/apache/doris/alter/SchemaChangeHandler.java
##########
@@ -521,6 +523,10 @@ private void addColumnInternal(OlapTable olapTable,
Column newColumn, ColumnPosi
throw new DdlException("HLL must be used in AGG_KEYS");
}
+ if (newColumn.getAggregationType() == BITMAP_UNION &&
KeysType.AGG_KEYS != olapTable.getKeysType()) {
+ throw new DdlException("BITMAP_COUNT must be used in AGG_KEYS");
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]