82 lines
3.5 KiB
JSON
82 lines
3.5 KiB
JSON
[
|
|
{
|
|
"Name": "TestInjectProjBelowTopN",
|
|
"Cases": [
|
|
[
|
|
"Projection_8 10000.00 root test.t.i",
|
|
"└─Sort_4 10000.00 root Column#3:asc",
|
|
" └─Projection_9 10000.00 root test.t.i, plus(test.t.i, 1)->Column#3",
|
|
" └─TableReader_7 10000.00 root data:TableScan_6",
|
|
" └─TableScan_6 10000.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false, stats:pseudo"
|
|
],
|
|
[
|
|
"1",
|
|
"1",
|
|
"1",
|
|
"2",
|
|
"2",
|
|
"2",
|
|
"3",
|
|
"3",
|
|
"3"
|
|
],
|
|
[
|
|
"Projection_15 2.00 root test.t.i",
|
|
"└─TopN_7 2.00 root Column#3:asc, offset:0, count:2",
|
|
" └─Projection_16 2.00 root test.t.i, plus(test.t.i, 1)->Column#3",
|
|
" └─TableReader_12 2.00 root data:TopN_11",
|
|
" └─TopN_11 2.00 cop[tikv] plus(test.t.i, 1):asc, offset:0, count:2",
|
|
" └─TableScan_10 10000.00 cop[tikv] table:t, range:[-inf,+inf], keep order:false, stats:pseudo"
|
|
],
|
|
[
|
|
"1",
|
|
"1"
|
|
],
|
|
[
|
|
"1 1 1",
|
|
"1 1 1",
|
|
"1 1 1",
|
|
"2 2 2",
|
|
"2 2 2",
|
|
"2 2 2",
|
|
"3 3 3",
|
|
"3 3 3",
|
|
"3 3 3"
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"Name": "TestIssue12759HashAggCalledByApply",
|
|
"Cases": [
|
|
[
|
|
"Projection_28 1.00 root Column#3, Column#6, Column#9, Column#12",
|
|
"└─Apply_30 1.00 root CARTESIAN left outer join, inner:Projection_65",
|
|
" ├─Apply_32 1.00 root CARTESIAN left outer join, inner:Projection_54",
|
|
" │ ├─Apply_34 1.00 root CARTESIAN left outer join, inner:Projection_43",
|
|
" │ │ ├─HashAgg_39 1.00 root funcs:sum(Column#22)->Column#3, funcs:firstrow(Column#23)->test.test.a",
|
|
" │ │ │ └─TableReader_40 1.00 root data:HashAgg_35",
|
|
" │ │ │ └─HashAgg_35 1.00 cop[tikv] funcs:sum(test.test.a)->Column#22, funcs:firstrow(test.test.a)->Column#23",
|
|
" │ │ │ └─TableScan_38 10000.00 cop[tikv] table:tt, range:[-inf,+inf], keep order:false, stats:pseudo",
|
|
" │ │ └─Projection_43 1.00 root <nil>->Column#6",
|
|
" │ │ └─Limit_44 1.00 root offset:0, count:1",
|
|
" │ │ └─TableReader_50 1.00 root data:Limit_49",
|
|
" │ │ └─Limit_49 1.00 cop[tikv] offset:0, count:1",
|
|
" │ │ └─Selection_48 1.00 cop[tikv] eq(test.test.a, test.test.a)",
|
|
" │ │ └─TableScan_47 1000.00 cop[tikv] table:test, range:[-inf,+inf], keep order:false, stats:pseudo",
|
|
" │ └─Projection_54 1.00 root <nil>->Column#9",
|
|
" │ └─Limit_55 1.00 root offset:0, count:1",
|
|
" │ └─TableReader_61 1.00 root data:Limit_60",
|
|
" │ └─Limit_60 1.00 cop[tikv] offset:0, count:1",
|
|
" │ └─Selection_59 1.00 cop[tikv] eq(test.test.a, test.test.a)",
|
|
" │ └─TableScan_58 1000.00 cop[tikv] table:test, range:[-inf,+inf], keep order:false, stats:pseudo",
|
|
" └─Projection_65 1.00 root <nil>->Column#12",
|
|
" └─Limit_66 1.00 root offset:0, count:1",
|
|
" └─TableReader_72 1.00 root data:Limit_71",
|
|
" └─Limit_71 1.00 cop[tikv] offset:0, count:1",
|
|
" └─Selection_70 1.00 cop[tikv] eq(test.test.a, test.test.a)",
|
|
" └─TableScan_69 1000.00 cop[tikv] table:test, range:[-inf,+inf], keep order:false, stats:pseudo"
|
|
]
|
|
]
|
|
}
|
|
]
|