Skip to content

Commit

Permalink
fixp
Browse files Browse the repository at this point in the history
  • Loading branch information
qw4990 committed May 9, 2023
1 parent 4a5f9d1 commit 18711f2
Showing 1 changed file with 17 additions and 14 deletions.
31 changes: 17 additions & 14 deletions planner/core/casetest/testdata/enforce_mpp_suite_out.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@
{
"SQL": "explain format='verbose' select /*+ read_from_storage(tiflash[t]) */ count(*) from t where a=1",
"Plan": [
"StreamAgg_10 1.00 64007.91 root funcs:count(1)->Column#4",
"└─TableReader_24 10.00 63508.91 root data:Selection_23",
" └─Selection_23 10.00 952000.00 cop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_22 10000.00 928000.00 cop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
"StreamAgg_20 1.00 63520.28 root funcs:count(Column#6)->Column#4",
"└─TableReader_21 1.00 63470.38 root data:StreamAgg_9",
" └─StreamAgg_9 1.00 952024.00 batchCop[tiflash] funcs:count(1)->Column#6",
" └─Selection_19 10.00 952000.00 batchCop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_18 10000.00 928000.00 batchCop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
],
"Warn": null
},
Expand Down Expand Up @@ -91,10 +92,11 @@
{
"SQL": "explain format='verbose' select /*+ read_from_storage(tiflash[t]) */ count(*) from t where a=1",
"Plan": [
"StreamAgg_12 1.00 64007.91 root funcs:count(1)->Column#4",
"└─TableReader_31 10.00 63508.91 root data:Selection_30",
" └─Selection_30 10.00 952000.00 cop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_29 10000.00 928000.00 cop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
"StreamAgg_27 1.00 63520.28 root funcs:count(Column#7)->Column#4",
"└─TableReader_28 1.00 63470.38 root data:StreamAgg_11",
" └─StreamAgg_11 1.00 952024.00 batchCop[tiflash] funcs:count(1)->Column#7",
" └─Selection_26 10.00 952000.00 batchCop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_25 10000.00 928000.00 batchCop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
],
"Warn": null
},
Expand Down Expand Up @@ -126,10 +128,11 @@
{
"SQL": "explain format='verbose' select /*+ read_from_storage(tiflash[t]) */ count(*) from t where a=1",
"Plan": [
"StreamAgg_12 1.00 64007.91 root funcs:count(1)->Column#4",
"└─TableReader_31 10.00 63508.91 root data:Selection_30",
" └─Selection_30 10.00 952000.00 cop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_29 10000.00 928000.00 cop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
"StreamAgg_27 1.00 63520.28 root funcs:count(Column#7)->Column#4",
"└─TableReader_28 1.00 63470.38 root data:StreamAgg_11",
" └─StreamAgg_11 1.00 952024.00 batchCop[tiflash] funcs:count(1)->Column#7",
" └─Selection_26 10.00 952000.00 batchCop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_25 10000.00 928000.00 batchCop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
],
"Warn": null
},
Expand Down Expand Up @@ -165,8 +168,8 @@
"Plan": [
"StreamAgg_27 1.00 49.90 root funcs:count(Column#7)->Column#4",
"└─TableReader_28 1.00 0.00 root data:StreamAgg_11",
" └─StreamAgg_11 1.00 1427024.00 batchCop[tiflash] funcs:count(1)->Column#7",
" └─Selection_26 10.00 1427000.00 batchCop[tiflash] eq(test.t.a, 1)",
" └─StreamAgg_11 1.00 952024.00 batchCop[tiflash] funcs:count(1)->Column#7",
" └─Selection_26 10.00 952000.00 batchCop[tiflash] eq(test.t.a, 1)",
" └─TableFullScan_25 10000.00 928000.00 batchCop[tiflash] table:t pushed down filter:empty, keep order:false, stats:pseudo"
],
"Warn": null
Expand Down

0 comments on commit 18711f2

Please sign in to comment.