Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed Nov 9, 2022
1 parent 4990426 commit 1fc6491
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions planner/core/testdata/analyze_suite_out.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@
[
"Projection 10.00 root Column#22",
"└─Apply 10.00 root CARTESIAN left outer semi join, other cond:eq(test.t.c, Column#21)",
" ├─TableReader(Build) 10.00 root data:TableFullScan",
" │ └─TableFullScan 10.00 cop[tikv] table:t keep order:false",
" ├─IndexReader(Build) 10.00 root index:IndexFullScan",
" │ └─IndexFullScan 10.00 cop[tikv] table:t, index:idx(c, b, a) keep order:false",
" └─StreamAgg(Probe) 10.00 root funcs:count(1)->Column#21",
" └─HashJoin 10.00 root inner join, equal:[eq(test.t.a, test.t.a)]",
" ├─IndexReader(Build) 10.00 root index:Selection",
Expand All @@ -394,8 +394,8 @@
[
"Projection 10.00 root Column#13",
"└─Apply 10.00 root CARTESIAN left outer join",
" ├─TableReader(Build) 10.00 root data:TableFullScan",
" │ └─TableFullScan 10.00 cop[tikv] table:t keep order:false",
" ├─IndexReader(Build) 10.00 root index:IndexFullScan",
" │ └─IndexFullScan 10.00 cop[tikv] table:t, index:idx(c, b, a) keep order:false",
" └─MaxOneRow(Probe) 10.00 root ",
" └─Projection 1.00 root concat(cast(test.t.a, var_string(20)), ,, cast(test.t.b, var_string(20)))->Column#13",
" └─IndexReader 1.00 root index:Selection",
Expand Down
10 changes: 5 additions & 5 deletions planner/core/testdata/integration_suite_out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2620,15 +2620,15 @@
{
"SQL": "explain format = 'verbose' select (2) in (select /*+ read_from_storage(tiflash[t1]) */ count(*) from t1) from (select t.b < (select /*+ read_from_storage(tiflash[t2]) */ t.b from t2 limit 1 ) from t3 t) t",
"Plan": [
"HashJoin_19 3.00 160879.40 root CARTESIAN left outer semi join",
"HashJoin_19 3.00 160874.64 root CARTESIAN left outer semi join",
"├─Selection_38(Build) 0.80 31154.89 root eq(2, Column#18)",
"│ └─StreamAgg_45 1.00 31104.99 root funcs:count(1)->Column#18",
"│ └─TableReader_59 3.00 30955.29 root data:TableFullScan_58",
"│ └─TableFullScan_58 3.00 464139.20 cop[tiflash] table:t1 keep order:false",
"└─Projection_20(Probe) 3.00 129653.38 root 1->Column#28",
" └─Apply_22 3.00 129653.08 root CARTESIAN left outer join",
" ├─TableReader_24(Build) 3.00 58.13 root data:TableFullScan_23",
" │ └─TableFullScan_23 3.00 681.92 cop[tikv] table:t keep order:false",
"└─Projection_20(Probe) 3.00 129648.62 root 1->Column#28",
" └─Apply_22 3.00 129648.32 root CARTESIAN left outer join",
" ├─IndexReader_26(Build) 3.00 53.37 root index:IndexFullScan_25",
" │ └─IndexFullScan_25 3.00 610.50 cop[tikv] table:t, index:c(b) keep order:false",
" └─Projection_27(Probe) 3.00 43198.32 root 1->Column#26",
" └─Limit_30 3.00 43198.22 root offset:0, count:1",
" └─TableReader_37 3.00 43198.22 root data:ExchangeSender_36",
Expand Down
2 changes: 1 addition & 1 deletion planner/core/testdata/plan_suite_out.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,7 +959,7 @@
},
{
"SQL": "select sum(e), avg(e + c) from t where c = 1 group by c",
"Best": "IndexReader(Index(t.c_d_e)[[1,1]]->StreamAgg)->StreamAgg"
"Best": "IndexReader(Index(t.c_d_e)[[1,1]])->Projection->StreamAgg"
},
{
"SQL": "select sum(e), avg(e + c) from t where c = 1 group by e",
Expand Down

0 comments on commit 1fc6491

Please sign in to comment.