[improvement](test) group some cases and group a case to p0 if it is not grouped (#11548)

This commit is contained in:
Yongqiang YANG
2022-08-06 15:12:08 +08:00
committed by GitHub
parent 683a1261c6
commit ee4d9d4347
112 changed files with 18 additions and 13 deletions

View File

@ -3,7 +3,7 @@
PLAN FRAGMENT 0
OUTPUT EXPRS:
`v1`
PARTITION: HASH_PARTITIONED: `default_cluster:regression_test_performance`.`redundant_conjuncts`.`k1`
PARTITION: HASH_PARTITIONED: `default_cluster:regression_test_performance_p0`.`redundant_conjuncts`.`k1`
VRESULT SINK
@ -17,7 +17,7 @@ PLAN FRAGMENT 0
PLAN FRAGMENT 0
OUTPUT EXPRS:
`v1`
PARTITION: HASH_PARTITIONED: `default_cluster:regression_test_performance`.`redundant_conjuncts`.`k1`
PARTITION: HASH_PARTITIONED: `default_cluster:regression_test_performance_p0`.`redundant_conjuncts`.`k1`
VRESULT SINK

View File

@ -64,6 +64,11 @@ abstract class SuiteScript extends Script {
return true
}
}
if (groups.size() == 1) {
// There is no specified group, mark it as p0
groups.add("p0")
}
return groups.join(",")
}
}

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_bitmap_intersect", "bitmap_function") {
suite("test_bitmap_intersect", "p0") {
def tbName = "test_bitmap_intersect"
sql """ SET enable_vectorized_engine = FALSE; """

View File

@ -14,7 +14,7 @@
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
suite("test_bloom_filter", "bloom_filter") {
suite("test_bloom_filter") {
// todo: test bloom filter, such alter table bloom filter, create table with bloom filter
sql "SHOW ALTER TABLE COLUMN"
}

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_create_table_with_bloom_filter", "bloom_filter") {
suite("test_create_table_with_bloom_filter") {
sql """DROP TABLE IF EXISTS test_bloom_filter"""
sql """
CREATE TABLE test_bloom_filter(

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_csv_with_header", "csv_header") {
suite("test_csv_with_header") {
//define format
def format_csv = "csv"
def format_csv_with_names = "csv_with_names"

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_delete", "delete") {
suite("test_delete") {
def tableName = "delete_regression_test"
sql """ DROP TABLE IF EXISTS ${tableName} """

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_multi_columns_delete", "delete") {
suite("test_multi_columns_delete") {
def tableName = "test_multi_columns_delete"
sql """ SET enable_vectorized_engine = TRUE; """

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("redundant_conjuncts", "performance") {
suite("redundant_conjuncts") {
sql """
SET enable_vectorized_engine = true;
"""

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_streamload_perfomance", "performance") {
suite("test_streamload_perfomance") {
def tableName = "test_streamload_performance1"
try {

View File

@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.
suite("test_sql_block_rule", "sql_block_rule") {
suite("test_sql_block_rule") {
sql """
DROP SQL_BLOCK_RULE if exists test_rule_num
"""

Some files were not shown because too many files have changed in this diff Show More