morrySnow commented on code in PR #17537:
URL: https://github.com/apache/doris/pull/17537#discussion_r1127823238


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/CreateMaterializedViewStmt.java:
##########
@@ -236,6 +236,10 @@ private void analyzeFromClause() throws AnalysisException {
             throw new AnalysisException("The materialized view only support 
one table in from clause.");
         }
         TableName tableName = tableRefList.get(0).getName();
+        if (tableName == null) {
+            throw new AnalysisException("table in from clause is invalid, 
please check if it's single table "

Review Comment:
   ```suggestion
               throw new AnalysisException("table in from clause is invalid, 
please ensure it's single table "
   ```



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