zddr commented on code in PR #35562:
URL: https://github.com/apache/doris/pull/35562#discussion_r1625779111


##########
regression-test/suites/mtmv_p0/test_rollup_partition_mtmv.groovy:
##########
@@ -420,4 +596,22 @@ suite("test_rollup_partition_mtmv") {
     } catch (Exception e) {
         log.info(e.getMessage())
     }
+
+    sql """drop materialized view if exists ${mvName};"""
+    try {
+        sql """
+        CREATE MATERIALIZED VIEW ${mvName}
+            BUILD IMMEDIATE REFRESH AUTO ON MANUAL
+            partition by (date_trunc(month_alias, 'hour'))
+            DISTRIBUTED BY RANDOM BUCKETS 2
+            PROPERTIES (
+            'replication_num' = '1'
+            )
+            AS
+            SELECT date_trunc(`k2`,'miniute') as month_alias, * FROM 
${tableName};

Review Comment:
   miniute==>minute?month_alias==>minute_alias?



-- 
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: commits-unsubscr...@doris.apache.org

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