This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new ce30fc79c90 [fix](nereids)remove rf-prune case (#28590)
ce30fc79c90 is described below
commit ce30fc79c9090bb229d7345d5d19f0b98f42306a
Author: minghong <[email protected]>
AuthorDate: Tue Dec 19 00:03:37 2023 +0800
[fix](nereids)remove rf-prune case (#28590)
---
.../runtime_filter/rf_prune.groovy | 73 ----------------------
1 file changed, 73 deletions(-)
diff --git
a/regression-test/suites/nereids_rules_p0/runtime_filter/rf_prune.groovy
b/regression-test/suites/nereids_rules_p0/runtime_filter/rf_prune.groovy
deleted file mode 100644
index 8c35ce3f9b9..00000000000
--- a/regression-test/suites/nereids_rules_p0/runtime_filter/rf_prune.groovy
+++ /dev/null
@@ -1,73 +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("rf_prune") {
- String db = context.config.getDbNameByFile(context.file)
- sql "use ${db}"
- sql "SET enable_nereids_planner=true"
- sql "SET enable_fallback_to_original_planner=false"
- sql "set enable_runtime_filter_prune=true;"
- sql "set disable_join_reorder=true"
- sql "drop table if exists A"
- sql """
- CREATE TABLE A (
- `id` INT NULL,
- `msg` TEXT NULL
- ) ENGINE=OLAP
- unique KEY(`id`)
- COMMENT 'OLAP'
- DISTRIBUTED BY HASH(`id`) BUCKETS 10
- PROPERTIES (
- "replication_allocation" = "tag.location.default: 1",
- "is_being_synced" = "false",
- "storage_format" = "V2",
- "light_schema_change" = "true",
- "disable_auto_compaction" = "false",
- "enable_single_replica_compaction" = "false"
- );
- """
- sql "drop table if exists B"
- sql """
- CREATE TABLE B (
- `id` INT NULL,
- `msg` TEXT NULL
- ) ENGINE=OLAP
- unique KEY(`id`)
- COMMENT 'OLAP'
- DISTRIBUTED BY HASH(`id`) BUCKETS 10
- PROPERTIES (
- "replication_allocation" = "tag.location.default: 1",
- "is_being_synced" = "false",
- "storage_format" = "V2",
- "light_schema_change" = "true",
- "disable_auto_compaction" = "false",
- "enable_single_replica_compaction" = "false"
- );
- """
-
- explain{
- sql " shape plan select * from A join B on A.id=B.id;"
- notContains "build RFs"
- }
-
- explain{
- sql " shape plan select * from A join B on A.id=B.id where B.msg='xyz';"
- contains "PhysicalOlapScan[A] apply RFs: RF0"
- }
-
-
-}
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]