diff --git a/planner/core/casetest/testdata/enforce_mpp_suite_out.json b/planner/core/casetest/testdata/enforce_mpp_suite_out.json index 172d6e5802225..0d2af3674e71b 100644 --- a/planner/core/casetest/testdata/enforce_mpp_suite_out.json +++ b/planner/core/casetest/testdata/enforce_mpp_suite_out.json @@ -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 }, @@ -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 }, @@ -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 }, @@ -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