Skip to content

Commit

Permalink
some cases miss reverted
Browse files Browse the repository at this point in the history
Signed-off-by: guo-shaoge <shaoge1994@163.com>
  • Loading branch information
guo-shaoge committed Apr 22, 2021
1 parent 1ca1c67 commit bcd6dd3
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions planner/core/testdata/integration_suite_out.json
Original file line number Diff line number Diff line change
Expand Up @@ -1517,20 +1517,19 @@
"SQL": "select count(*) from t join (select t.id, t.value v1 from t join t t1 on t.id = t1.id order by t.value limit 1) v on v.id = t.id and v.v1 = t.value;",
"Plan": [
"StreamAgg 1.00 root funcs:count(1)->Column#10",
"└─Projection 1.00 root 1->Column#11",
" └─HashJoin 1.00 root inner join, equal:[eq(test.t.id, test.t.id) eq(test.t.value, test.t.value)]",
" ├─Selection(Build) 0.80 root not(isnull(test.t.id)), not(isnull(test.t.value))",
" │ └─TopN 1.00 root test.t.value, offset:0, count:1",
" │ └─HashJoin 12487.50 root inner join, equal:[eq(test.t.id, test.t.id)]",
" │ ├─TableReader(Build) 9990.00 root data:Selection",
" │ │ └─Selection 9990.00 cop[tikv] not(isnull(test.t.id))",
" │ │ └─TableFullScan 10000.00 cop[tikv] table:t1 keep order:false, stats:pseudo",
" │ └─TableReader(Probe) 9990.00 root data:Selection",
" │ └─Selection 9990.00 cop[tikv] not(isnull(test.t.id))",
" │ └─TableFullScan 10000.00 cop[tikv] table:t keep order:false, stats:pseudo",
" └─TableReader(Probe) 9980.01 root data:Selection",
" └─Selection 9980.01 cop[tikv] not(isnull(test.t.id)), not(isnull(test.t.value))",
" └─TableFullScan 10000.00 cop[tikv] table:t keep order:false, stats:pseudo"
"└─HashJoin 1.00 root inner join, equal:[eq(test.t.id, test.t.id) eq(test.t.value, test.t.value)]",
" ├─Selection(Build) 0.80 root not(isnull(test.t.id)), not(isnull(test.t.value))",
" │ └─TopN 1.00 root test.t.value, offset:0, count:1",
" │ └─HashJoin 12487.50 root inner join, equal:[eq(test.t.id, test.t.id)]",
" │ ├─TableReader(Build) 9990.00 root data:Selection",
" │ │ └─Selection 9990.00 cop[tikv] not(isnull(test.t.id))",
" │ │ └─TableFullScan 10000.00 cop[tikv] table:t1 keep order:false, stats:pseudo",
" │ └─TableReader(Probe) 9990.00 root data:Selection",
" │ └─Selection 9990.00 cop[tikv] not(isnull(test.t.id))",
" │ └─TableFullScan 10000.00 cop[tikv] table:t keep order:false, stats:pseudo",
" └─TableReader(Probe) 9980.01 root data:Selection",
" └─Selection 9980.01 cop[tikv] not(isnull(test.t.id)), not(isnull(test.t.value))",
" └─TableFullScan 10000.00 cop[tikv] table:t keep order:false, stats:pseudo"
]
}
]
Expand Down

0 comments on commit bcd6dd3

Please sign in to comment.