You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
735 B

[
{
"name": "TestInjectProjBelowTopN",
"cases": [
"explain select * from t order by i + 1",
"select * from t order by i + 1",
"explain 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 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"
]
}
]