BiteTheDDDDt commented on code in PR #53322:
URL: https://github.com/apache/doris/pull/53322#discussion_r2224550343


##########
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:
   rollup's column name do not have mv prefix, therefore, this method is 
consistent in the modified behavior



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