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

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


The following commit(s) were added to refs/heads/master by this push:
     new 56526f0819e Support parsing Doris CANCEL MATERIALIZED VIEW TASK syntax 
(#38646)
56526f0819e is described below

commit 56526f0819e84daaab84f3584d77de3c08dfa12f
Author: Guimu <[email protected]>
AuthorDate: Thu May 28 14:47:03 2026 +0800

    Support parsing Doris CANCEL MATERIALIZED VIEW TASK syntax (#38646)
---
 .../core/database/visitor/SQLVisitorRule.java      |  2 +
 .../src/main/antlr4/imports/doris/DDLStatement.g4  |  4 ++
 .../sql/parser/autogen/DorisStatement.g4           |  1 +
 .../statement/type/DorisDDLStatementVisitor.java   |  9 +++++
 .../DorisCancelMaterializedViewTaskStatement.java  | 39 ++++++++++++++++++
 ...sCancelMaterializedViewTaskStatementAssert.java | 46 ++++++++++++++++++++++
 .../ddl/dialect/doris/DorisDDLStatementAssert.java |  4 ++
 .../cases/parser/jaxb/RootSQLParserTestCases.java  |  4 ++
 ...ancelMaterializedViewTaskStatementTestCase.java | 41 +++++++++++++++++++
 .../case/ddl/cancel-materialized-view-task.xml     | 29 ++++++++++++++
 .../ddl/cancel-materialized-view-task.xml          | 22 +++++++++++
 11 files changed, 201 insertions(+)

diff --git 
a/parser/sql/engine/core/src/main/java/org/apache/shardingsphere/sql/parser/engine/core/database/visitor/SQLVisitorRule.java
 
b/parser/sql/engine/core/src/main/java/org/apache/shardingsphere/sql/parser/engine/core/database/visitor/SQLVisitorRule.java
index d99226a161d..25fe18e14ea 100644
--- 
a/parser/sql/engine/core/src/main/java/org/apache/shardingsphere/sql/parser/engine/core/database/visitor/SQLVisitorRule.java
+++ 
b/parser/sql/engine/core/src/main/java/org/apache/shardingsphere/sql/parser/engine/core/database/visitor/SQLVisitorRule.java
@@ -299,6 +299,8 @@ public enum SQLVisitorRule {
     
     CANCEL_TASK("CancelTask", SQLStatementType.DDL),
     
+    CANCEL_MATERIALIZED_VIEW_TASK("CancelMaterializedViewTask", 
SQLStatementType.DDL),
+    
     RESUME_JOB("ResumeJob", SQLStatementType.DDL),
     
     RESUME_SYNC_JOB("ResumeSyncJob", SQLStatementType.DDL),
diff --git 
a/parser/sql/engine/dialect/doris/src/main/antlr4/imports/doris/DDLStatement.g4 
b/parser/sql/engine/dialect/doris/src/main/antlr4/imports/doris/DDLStatement.g4
index 11f92ebdb94..616a46c1029 100644
--- 
a/parser/sql/engine/dialect/doris/src/main/antlr4/imports/doris/DDLStatement.g4
+++ 
b/parser/sql/engine/dialect/doris/src/main/antlr4/imports/doris/DDLStatement.g4
@@ -1038,6 +1038,10 @@ cancelTask
     : CANCEL TASK WHERE jobName EQ_ stringLiterals AND identifier EQ_ 
numberLiterals
     ;
 
+cancelMaterializedViewTask
+    : CANCEL MATERIALIZED VIEW TASK numberLiterals ON tableName
+    ;
+
 resumeSyncJob
     : RESUME SYNC JOB (owner DOT_)? identifier
     ;
diff --git 
a/parser/sql/engine/dialect/doris/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/DorisStatement.g4
 
b/parser/sql/engine/dialect/doris/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/DorisStatement.g4
index c0005b9f930..f43ce966bd8 100644
--- 
a/parser/sql/engine/dialect/doris/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/DorisStatement.g4
+++ 
b/parser/sql/engine/dialect/doris/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/DorisStatement.g4
@@ -168,6 +168,7 @@ execute
     | createJob
     | createStreamingJob
     | cancelTask
+    | cancelMaterializedViewTask
     | backup
     | cancelBackup
     | cancelLoadStatement
diff --git 
a/parser/sql/engine/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDDLStatementVisitor.java
 
b/parser/sql/engine/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDDLStatementVisitor.java
index 749f9016790..9f423726a0b 100644
--- 
a/parser/sql/engine/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDDLStatementVisitor.java
+++ 
b/parser/sql/engine/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/engine/doris/visitor/statement/type/DorisDDLStatementVisitor.java
@@ -137,6 +137,7 @@ import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.RenameR
 import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.RenameTableContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.RepeatStatementContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.ReplaceTableContext;
+import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.CancelMaterializedViewTaskContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.CancelTaskContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.ResumeJobContext;
 import 
org.apache.shardingsphere.sql.parser.autogen.DorisStatementParser.ResumeSyncJobContext;
@@ -276,6 +277,7 @@ import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCreateStrea
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCreateSyncJobStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisDropFunctionStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisPauseSyncJobStatement;
+import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCancelMaterializedViewTaskStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCancelTaskStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisAlterJobStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisDropJobStatement;
@@ -566,6 +568,13 @@ public final class DorisDDLStatementVisitor extends 
DorisStatementVisitor implem
         return new DorisCancelTaskStatement(getDatabaseType(), jobName, 
taskId);
     }
     
+    @Override
+    public ASTNode visitCancelMaterializedViewTask(final 
CancelMaterializedViewTaskContext ctx) {
+        long taskId = Long.parseLong(ctx.numberLiterals().getText());
+        String mvName = ctx.tableName().getText();
+        return new DorisCancelMaterializedViewTaskStatement(getDatabaseType(), 
taskId, mvName);
+    }
+    
     private JobScheduleSegment createJobScheduleSegment(final 
JobScheduleExpressionContext ctx) {
         boolean everySchedule = null == ctx.AT();
         JobScheduleSegment result = new 
JobScheduleSegment(ctx.start.getStartIndex(), ctx.stop.getStopIndex(), 
everySchedule);
diff --git 
a/parser/sql/statement/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/statement/doris/ddl/DorisCancelMaterializedViewTaskStatement.java
 
b/parser/sql/statement/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/statement/doris/ddl/DorisCancelMaterializedViewTaskStatement.java
new file mode 100644
index 00000000000..021da7a99e5
--- /dev/null
+++ 
b/parser/sql/statement/dialect/doris/src/main/java/org/apache/shardingsphere/sql/parser/statement/doris/ddl/DorisCancelMaterializedViewTaskStatement.java
@@ -0,0 +1,39 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.shardingsphere.sql.parser.statement.doris.ddl;
+
+import lombok.Getter;
+import org.apache.shardingsphere.database.connector.core.type.DatabaseType;
+import 
org.apache.shardingsphere.sql.parser.statement.core.statement.type.ddl.DDLStatement;
+
+/**
+ * Cancel materialized view task statement for Doris.
+ */
+@Getter
+public final class DorisCancelMaterializedViewTaskStatement extends 
DDLStatement {
+    
+    private final long taskId;
+    
+    private final String mvName;
+    
+    public DorisCancelMaterializedViewTaskStatement(final DatabaseType 
databaseType, final long taskId, final String mvName) {
+        super(databaseType);
+        this.taskId = taskId;
+        this.mvName = mvName;
+    }
+}
diff --git 
a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisCancelMaterializedViewTaskStatementAssert.java
 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisCancelMaterializedViewTaskStatementAssert.java
new file mode 100644
index 00000000000..a5eb1e3d666
--- /dev/null
+++ 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisCancelMaterializedViewTaskStatementAssert.java
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package 
org.apache.shardingsphere.test.it.sql.parser.internal.asserts.statement.ddl.dialect.doris;
+
+import lombok.AccessLevel;
+import lombok.NoArgsConstructor;
+import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCancelMaterializedViewTaskStatement;
+import 
org.apache.shardingsphere.test.it.sql.parser.internal.asserts.SQLCaseAssertContext;
+import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCancelMaterializedViewTaskStatementTestCase;
+
+import static org.hamcrest.MatcherAssert.assertThat;
+import static org.hamcrest.Matchers.is;
+
+/**
+ * Cancel materialized view task statement assert for Doris.
+ */
+@NoArgsConstructor(access = AccessLevel.PRIVATE)
+public final class DorisCancelMaterializedViewTaskStatementAssert {
+    
+    /**
+     * Assert cancel materialized view task statement is correct with expected 
parser result.
+     *
+     * @param assertContext assert context
+     * @param actual actual cancel materialized view task statement
+     * @param expected expected cancel materialized view task statement test 
case
+     */
+    public static void assertIs(final SQLCaseAssertContext assertContext, 
final DorisCancelMaterializedViewTaskStatement actual, final 
DorisCancelMaterializedViewTaskStatementTestCase expected) {
+        assertThat(assertContext.getText("Task ID does not match: "), 
actual.getTaskId(), is(expected.getTaskId()));
+        assertThat(assertContext.getText("Materialized view name does not 
match: "), actual.getMvName(), is(expected.getMvName()));
+    }
+}
diff --git 
a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java
 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java
index a5994765726..081f89db54d 100644
--- 
a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java
+++ 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/asserts/statement/ddl/dialect/doris/DorisDDLStatementAssert.java
@@ -24,6 +24,7 @@ import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisAlterColoca
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisAlterStoragePolicyStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCreateFunctionStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisDropFunctionStatement;
+import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCancelMaterializedViewTaskStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisCancelTaskStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisAlterJobStatement;
 import 
org.apache.shardingsphere.sql.parser.statement.doris.ddl.DorisDropJobStatement;
@@ -43,6 +44,7 @@ import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.s
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisAlterStoragePolicyStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCreateJobStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisDropFunctionStatementTestCase;
+import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCancelMaterializedViewTaskStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCancelTaskStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisAlterJobStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisDropJobStatementTestCase;
@@ -99,6 +101,8 @@ public final class DorisDDLStatementAssert {
             DorisCreateStreamingJobStatementAssert.assertIs(assertContext, 
(DorisCreateStreamingJobStatement) actual, 
(DorisCreateStreamingJobStatementTestCase) expected);
         } else if (actual instanceof DorisCancelTaskStatement) {
             DorisCancelTaskStatementAssert.assertIs(assertContext, 
(DorisCancelTaskStatement) actual, (DorisCancelTaskStatementTestCase) expected);
+        } else if (actual instanceof DorisCancelMaterializedViewTaskStatement) 
{
+            
DorisCancelMaterializedViewTaskStatementAssert.assertIs(assertContext, 
(DorisCancelMaterializedViewTaskStatement) actual, 
(DorisCancelMaterializedViewTaskStatementTestCase) expected);
         }
     }
 }
diff --git 
a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java
 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java
index 0c33657d05b..80b48824cd9 100644
--- 
a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java
+++ 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/RootSQLParserTestCases.java
@@ -44,6 +44,7 @@ import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.s
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisPauseSyncJobStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisStopSyncJobStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCreateJobStatementTestCase;
+import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCancelMaterializedViewTaskStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCancelTaskStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCreateStreamingJobStatementTestCase;
 import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris.DorisCreateSyncJobStatementTestCase;
@@ -1379,6 +1380,9 @@ public final class RootSQLParserTestCases {
     @XmlElement(name = "cancel-task")
     private final List<DorisCancelTaskStatementTestCase> cancelTaskTestCases = 
new LinkedList<>();
     
+    @XmlElement(name = "cancel-materialized-view-task")
+    private final List<DorisCancelMaterializedViewTaskStatementTestCase> 
cancelMaterializedViewTaskTestCases = new LinkedList<>();
+    
     @XmlElement(name = "drop-shadow-algorithm")
     private final List<DropShadowAlgorithmStatementTestCase> 
dropShadowAlgorithmTestCases = new LinkedList<>();
     
diff --git 
a/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/ddl/dialect/doris/DorisCancelMaterializedViewTaskStatementTestCase.java
 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/ddl/dialect/doris/DorisCancelMaterializedViewTaskStatementTestCase.java
new file mode 100644
index 00000000000..becc3a2cc45
--- /dev/null
+++ 
b/test/it/parser/src/main/java/org/apache/shardingsphere/test/it/sql/parser/internal/cases/parser/jaxb/statement/ddl/dialect/doris/DorisCancelMaterializedViewTaskStatementTestCase.java
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.statement.ddl.dialect.doris;
+
+import lombok.Getter;
+import lombok.Setter;
+import 
org.apache.shardingsphere.test.it.sql.parser.internal.cases.parser.jaxb.SQLParserTestCase;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ * Cancel materialized view task statement test case for Doris.
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@Getter
+@Setter
+public final class DorisCancelMaterializedViewTaskStatementTestCase extends 
SQLParserTestCase {
+    
+    @XmlElement(name = "task-id")
+    private long taskId;
+    
+    @XmlElement(name = "mv-name")
+    private String mvName;
+}
diff --git 
a/test/it/parser/src/main/resources/case/ddl/cancel-materialized-view-task.xml 
b/test/it/parser/src/main/resources/case/ddl/cancel-materialized-view-task.xml
new file mode 100644
index 00000000000..0b8424f0657
--- /dev/null
+++ 
b/test/it/parser/src/main/resources/case/ddl/cancel-materialized-view-task.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<sql-parser-test-cases>
+    <cancel-materialized-view-task sql-case-id="cancel_materialized_view_task">
+        <task-id>1</task-id>
+        <mv-name>mv1</mv-name>
+    </cancel-materialized-view-task>
+
+    <cancel-materialized-view-task 
sql-case-id="cancel_materialized_view_task_with_qualified_name">
+        <task-id>42</task-id>
+        <mv-name>example_db.mv_stats</mv-name>
+    </cancel-materialized-view-task>
+</sql-parser-test-cases>
diff --git 
a/test/it/parser/src/main/resources/sql/supported/ddl/cancel-materialized-view-task.xml
 
b/test/it/parser/src/main/resources/sql/supported/ddl/cancel-materialized-view-task.xml
new file mode 100644
index 00000000000..7a85f7729f8
--- /dev/null
+++ 
b/test/it/parser/src/main/resources/sql/supported/ddl/cancel-materialized-view-task.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~     http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<sql-cases>
+    <sql-case id="cancel_materialized_view_task" value="CANCEL MATERIALIZED 
VIEW TASK 1 ON mv1" db-types="Doris" />
+    <sql-case id="cancel_materialized_view_task_with_qualified_name" 
value="CANCEL MATERIALIZED VIEW TASK 42 ON example_db.mv_stats" 
db-types="Doris" />
+</sql-cases>

Reply via email to