You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/07/25 14:01:15 UTC

[GitHub] [incubator-doris] morningman commented on a change in pull request #4140: Add materialized view related syntax

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



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