starocean999 commented on code in PR #53322:
URL: https://github.com/apache/doris/pull/53322#discussion_r2224571012
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/Column.java:
##########
@@ -1190,8 +1190,7 @@ public void gsonPostProcess() throws IOException {
}
public boolean isMaterializedViewColumn() {
- return
getName().startsWith(CreateMaterializedViewStmt.MATERIALIZED_VIEW_NAME_PREFIX)
- ||
getName().startsWith(CreateMaterializedViewStmt.MATERIALIZED_VIEW_AGGREGATE_NAME_PREFIX);
+ return defineExpr != null;
Review Comment:
isMaterializedViewColumn method doesn't work for rollup? So any place call
isMaterializedViewColumn may be wrong for rollup?
--
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]