adonis0147 commented on a change in pull request #8305: URL: https://github.com/apache/incubator-doris/pull/8305#discussion_r820847392
########## File path: fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java ########## @@ -373,6 +373,9 @@ private void toChildrenThrift(Column column, TColumn tColumn) { childrenTColumnType.setIndexLen(children.getOlapColumnIndexSize()); childrenTColumn.setColumnType(childrenTColumnType); childrenTColumn.setIsAllowNull(children.isAllowNull()); + if (tColumn.getAggregationType() != null) { + childrenTColumn.setAggregationType(tColumn.getAggregationType()); Review comment: The parent aggregate type is `NONE` by default for array type. If we don't set the aggregate type for the children column, after deserializing in BE, the aggregate type of the children column is `TAggregationType::type::SUM`, because the value of `TAggregationType::type::SUM` is zero. -- 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: commits-unsubscr...@doris.apache.org 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