[test](fix) remove unused test case test_mtmv_ssb_ddl.groovy (#24434)

* forbid: test_mtmv_ssb_ddl

* remove: test_mtmv_ssb_ddl.groovy
This commit is contained in:
shuke
2023-09-15 15:02:31 +08:00
committed by GitHub
parent a4b62eec63
commit 3c18ed4e86

View File

@ -1,35 +0,0 @@
// 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.
suite("test_mtmv_ssb_ddl") {
def ssb_tables = ["customer", "lineorder", "part", "date", "supplier"]
for (String table in ssb_tables) {
sql new File("""${context.file.parent}/ddl/${table}_create.sql""").text
sql new File("""${context.file.parent}/ddl/${table}_delete.sql""").text
}
def ssb_mtmvs = ["ssb_flat", "ssb_q11", "ssb_q12", "ssb_q13", "ssb_q21", "ssb_q22", "ssb_q23",
"ssb_q31", "ssb_q32", "ssb_q33", "ssb_q34", "ssb_q31", "ssb_q42", "ssb_q43"]
for (String mvName in ssb_mtmvs) {
sql "drop MATERIALIZED VIEW IF EXISTS ${mvName}"
println "run mtmv ddl: ${mvName}"
sql new File("""${context.file.parent}/ddl/${mvName}_create.sql""").text
waitingMTMVTaskFinished(mvName)
}
}