File tree Expand file tree Collapse file tree 4 files changed +21
-3
lines changed
src/query/sql/src/planner/optimizer/optimizers/rule/join_rules
tests/sqllogictests/suites/mode/standalone/explain_native
push_down_filter/push_down_filter_join Expand file tree Collapse file tree 4 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1+ // Copyright 2021 Datafuse Labs
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
15+
16+ pub struct RulePushdownAntiJoin {
17+
18+ }
Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ HashJoin
573573├── probe keys: [t1.a (#1)]
574574├── keys is null equal: [false]
575575├── filters: []
576- ├── estimated rows: 10 .00
576+ ├── estimated rows: 9 .00
577577├── TableScan(Build)
578578│ ├── table: default.join_reorder.t
579579│ ├── scan id: 0
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ HashJoin
2828├── probe keys: [t1.a (#0)]
2929├── keys is null equal: [false]
3030├── filters: []
31- ├── estimated rows: 0 .00
31+ ├── estimated rows: 1 .00
3232├── TableScan(Build)
3333│ ├── table: default.default.t2
3434│ ├── scan id: 1
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ HashJoin
314314├── probe keys: [t.number (#0)]
315315├── keys is null equal: [false]
316316├── filters: []
317- ├── estimated rows: 0.25
317+ ├── estimated rows: 0.50
318318├── Filter(Build)
319319│ ├── output columns: [numbers.number (#1)]
320320│ ├── filters: [numbers.number (#1) < 10, numbers.number (#1) = 0]
You can’t perform that action at this time.
0 commit comments