This is an automated email from the ASF dual-hosted git repository.

adonisling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 8cbc1d58e1 [fix](MTMV) Disable partition specification temporarily 
(#20793)
8cbc1d58e1 is described below

commit 8cbc1d58e1e2fac26c307e629df0f6a476a25364
Author: zhangdong <493738...@qq.com>
AuthorDate: Tue Jul 4 11:09:04 2023 +0800

    [fix](MTMV) Disable partition specification temporarily (#20793)
    
    The syntax for supporting partition updates in the future has not been 
investigated yet and there are issues with partition syntax. Therefore, the 
partition syntax has been temporarily removed in the current version and will 
be added after future research.
---
 fe/fe-core/src/main/cup/sql_parser.cup                                 | 3 +--
 .../java/org/apache/doris/catalog/MultiTableMaterializedViewTest.java  | 2 ++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fe/fe-core/src/main/cup/sql_parser.cup 
b/fe/fe-core/src/main/cup/sql_parser.cup
index a1f45db907..fbf319fd1b 100644
--- a/fe/fe-core/src/main/cup/sql_parser.cup
+++ b/fe/fe-core/src/main/cup/sql_parser.cup
@@ -1927,12 +1927,11 @@ create_stmt ::=
     | KW_CREATE KW_MATERIALIZED KW_VIEW ident:mvName build_mv:buildMethod
          opt_mv_refersh_info:refreshInfo
          opt_mv_keys:keyDesc
-         opt_mv_partition:partitionDesc
          opt_distribution:distributionDesc
          opt_properties:properties
          KW_AS query_stmt:query
     {:
-        RESULT = new CreateMultiTableMaterializedViewStmt(mvName, buildMethod, 
refreshInfo, keyDesc, partitionDesc, distributionDesc, properties, query);
+        RESULT = new CreateMultiTableMaterializedViewStmt(mvName, buildMethod, 
refreshInfo, keyDesc, null, distributionDesc, properties, query);
     :}
     | KW_CREATE KW_INDEX opt_if_not_exists:ifNotExists ident:indexName KW_ON 
table_name:tableName LPAREN ident_list:cols RPAREN opt_index_type:indexType 
opt_properties:properties opt_comment:comment
     {:
diff --git 
a/fe/fe-core/src/test/java/org/apache/doris/catalog/MultiTableMaterializedViewTest.java
 
b/fe/fe-core/src/test/java/org/apache/doris/catalog/MultiTableMaterializedViewTest.java
index 8cb5d14c4a..026406e94f 100644
--- 
a/fe/fe-core/src/test/java/org/apache/doris/catalog/MultiTableMaterializedViewTest.java
+++ 
b/fe/fe-core/src/test/java/org/apache/doris/catalog/MultiTableMaterializedViewTest.java
@@ -41,6 +41,7 @@ import org.apache.doris.utframe.TestWithFeService;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.ValueSource;
@@ -243,6 +244,7 @@ public class MultiTableMaterializedViewTest extends 
TestWithFeService {
 
     @ParameterizedTest
     @ValueSource(strings = {"AGGREGATE", "UNIQUE", "DUPLICATE"})
+    @Disabled
     public void testCreateWithPartition(String keyType) throws Exception {
         String aggregation = keyType.equals("AGGREGATE") ? "SUM" : "";
         createTable("CREATE TABLE test.t1 ("


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

Reply via email to