qzsee commented on a change in pull request #6763:
URL: https://github.com/apache/incubator-doris/pull/6763#discussion_r728774283



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/alter/MaterializedViewHandler.java
##########
@@ -602,6 +602,7 @@ private RollupJobV2 createMaterializedViewJob(String 
mvName, String baseIndexNam
                             || keySizeByte > 
FeConstants.shortkey_maxsize_bytes) {
                         if (theBeginIndexOfValue == 0 && 
column.getType().getPrimitiveType().isCharFamily()) {
                             column.setIsKey(true);
+                            column.setAggregationType(null, true);

Review comment:
       Sorry,I have already corrected




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to