github.com/whtcorpsinc/milevadb-prod@v0.0.0-20211104133533-f57f4be3b597/interlock/testdata/agg_suite_out.json (about)

     1  [
     2    {
     3      "Name": "TestInjectProjBelowTopN",
     4      "Cases": [
     5        [
     6          "Projection_10 10000.00 root  test.t.i",
     7          "└─Sort_4 10000.00 root  DeferredCauset#3",
     8          "  └─Projection_11 10000.00 root  test.t.i, plus(test.t.i, 1)->DeferredCauset#3",
     9          "    └─BlockReader_8 10000.00 root  data:BlockFullScan_7",
    10          "      └─BlockFullScan_7 10000.00 cop[einsteindb] causet:t keep order:false, stats:pseudo"
    11        ],
    12        [
    13          "1",
    14          "1",
    15          "1",
    16          "2",
    17          "2",
    18          "2",
    19          "3",
    20          "3",
    21          "3"
    22        ],
    23        [
    24          "Projection_15 2.00 root  test.t.i",
    25          "└─TopN_7 2.00 root  DeferredCauset#3, offset:0, count:2",
    26          "  └─Projection_16 2.00 root  test.t.i, plus(test.t.i, 1)->DeferredCauset#3",
    27          "    └─BlockReader_12 2.00 root  data:TopN_11",
    28          "      └─TopN_11 2.00 cop[einsteindb]  plus(test.t.i, 1), offset:0, count:2",
    29          "        └─BlockFullScan_10 10000.00 cop[einsteindb] causet:t keep order:false, stats:pseudo"
    30        ],
    31        [
    32          "1",
    33          "1"
    34        ],
    35        [
    36          "1 1 1",
    37          "1 1 1",
    38          "1 1 1",
    39          "2 2 2",
    40          "2 2 2",
    41          "2 2 2",
    42          "3 3 3",
    43          "3 3 3",
    44          "3 3 3"
    45        ]
    46      ]
    47    },
    48    {
    49      "Name": "TestIssue12759HashAggCalledByApply",
    50      "Cases": [
    51        [
    52          "Projection_28 1.00 root  DeferredCauset#3, DeferredCauset#6, DeferredCauset#9, DeferredCauset#12",
    53          "└─Apply_30 1.00 root  CARTESIAN left outer join",
    54          "  ├─Apply_32(Build) 1.00 root  CARTESIAN left outer join",
    55          "  │ ├─Apply_34(Build) 1.00 root  CARTESIAN left outer join",
    56          "  │ │ ├─HashAgg_39(Build) 1.00 root  funcs:sum(DeferredCauset#22)->DeferredCauset#3, funcs:firstrow(DeferredCauset#23)->test.test.a",
    57          "  │ │ │ └─BlockReader_40 1.00 root  data:HashAgg_35",
    58          "  │ │ │   └─HashAgg_35 1.00 cop[einsteindb]  funcs:sum(test.test.a)->DeferredCauset#22, funcs:firstrow(test.test.a)->DeferredCauset#23",
    59          "  │ │ │     └─BlockFullScan_38 10000.00 cop[einsteindb] causet:tt keep order:false, stats:pseudo",
    60          "  │ │ └─Projection_43(Probe) 1.00 root  <nil>->DeferredCauset#6",
    61          "  │ │   └─Limit_44 1.00 root  offset:0, count:1",
    62          "  │ │     └─BlockReader_50 1.00 root  data:Limit_49",
    63          "  │ │       └─Limit_49 1.00 cop[einsteindb]  offset:0, count:1",
    64          "  │ │         └─Selection_48 1.00 cop[einsteindb]  eq(test.test.a, test.test.a)",
    65          "  │ │           └─BlockFullScan_47 1000.00 cop[einsteindb] causet:test keep order:false, stats:pseudo",
    66          "  │ └─Projection_54(Probe) 1.00 root  <nil>->DeferredCauset#9",
    67          "  │   └─Limit_55 1.00 root  offset:0, count:1",
    68          "  │     └─BlockReader_61 1.00 root  data:Limit_60",
    69          "  │       └─Limit_60 1.00 cop[einsteindb]  offset:0, count:1",
    70          "  │         └─Selection_59 1.00 cop[einsteindb]  eq(test.test.a, test.test.a)",
    71          "  │           └─BlockFullScan_58 1000.00 cop[einsteindb] causet:test keep order:false, stats:pseudo",
    72          "  └─Projection_65(Probe) 1.00 root  <nil>->DeferredCauset#12",
    73          "    └─Limit_66 1.00 root  offset:0, count:1",
    74          "      └─BlockReader_72 1.00 root  data:Limit_71",
    75          "        └─Limit_71 1.00 cop[einsteindb]  offset:0, count:1",
    76          "          └─Selection_70 1.00 cop[einsteindb]  eq(test.test.a, test.test.a)",
    77          "            └─BlockFullScan_69 1000.00 cop[einsteindb] causet:test keep order:false, stats:pseudo"
    78        ]
    79      ]
    80    }
    81  ]