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/02/05 08:35:53 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on a change in pull request #2821: The new materialized view selector

EmmyMiao87 commented on a change in pull request #2821: The new materialized view selector
URL: https://github.com/apache/incubator-doris/pull/2821#discussion_r375118334
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/catalog/Catalog.java
 ##########
 @@ -4791,8 +4791,10 @@ public void alterView(AlterViewStmt stmt) throws DdlException, UserException {
 
     public void createMaterializedView(CreateMaterializedViewStmt stmt) throws AnalysisException, DdlException {
         // TODO(ml): remove it
-        throw new AnalysisException("The materialized view is coming soon");
-//        this.alter.processCreateMaterializedView(stmt);
+        if (!ConnectContext.get().getSessionVariable().getTestMaterializedView()) {
 
 Review comment:
   OK

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


With regards,
Apache Git Services

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