Files
tidb/executor/testdata/agg_suite_in.json
2021-02-22 17:50:06 +08:00

20 lines
787 B
JSON

[
{
"name": "TestInjectProjBelowTopN",
"cases": [
"explain format = 'brief' select * from t order by i + 1",
"select * from t order by i + 1",
"explain format = 'brief' select * from t order by i + 1 limit 2",
"select * from t order by i + 1 limit 2",
"select i, i, i from t order by i + 1"
]
},
{
"name": "TestIssue12759HashAggCalledByApply",
"cases": [
// make sure the plan is Apply -> Apply -> Apply -> HashAgg, and the count of Apply is equal to HashAggFinalConcurrency-1.
"explain format = 'brief' 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"
]
}
]