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

     1  [
     2    {
     3      "name": "TestInjectProjBelowTopN",
     4      "cases": [
     5        "explain select * from t order by i + 1",
     6        "select * from t order by i + 1",
     7        "explain select * from t order by i + 1 limit 2",
     8        "select * from t order by i + 1 limit 2",
     9        "select i, i, i from t order by i + 1"
    10      ]
    11    },
    12    {
    13      "name": "TestIssue12759HashAggCalledByApply",
    14      "cases": [
    15        // make sure the plan is Apply -> Apply -> Apply -> HashAgg, and the count of Apply is equal to HashAggFinalConcurrency-1.
    16        "explain select /*+ hash_agg() */ sum(a), (select NULL from test where tt.a = test.a limit 1),(select NULL from test where tt.a = test.a limit 1),(select NULL from test where tt.a = test.a limit 1) from test tt"
    17      ]
    18    }
    19  ]