morningman commented on a change in pull request #4140:
URL: https://github.com/apache/incubator-doris/pull/4140#discussion_r460407793



##########
File path: 
fe/fe-core/src/main/java/org/apache/doris/analysis/CreateMaterializedViewStmt.java
##########
@@ -224,6 +232,9 @@ public void analyzeSelectClause() throws AnalysisException {
         if (beginIndexOfAggregation == 0) {
             throw new AnalysisException("The materialized view must contain at 
least one key column");
         }
+        if (partitionColumns.size() > 0) {

Review comment:
       There may be no group by clause at all?




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to