Files
tidb/expression/testdata/flag_simplify_in.json

29 lines
1.0 KiB
JSON

[
{
"name": "TestSimplifyExpressionByFlag",
"cases": [
"explain select * from t where a is null",
"explain select * from t where a is not null",
"explain select * from t where a > -1",
"explain select * from t where a <= -1",
"explain select * from t where a < 0",
"explain select * from t where a >= 0",
"explain select * from t where a = -1",
"explain select * from t where a <=> -1",
"explain select * from t where a != -1",
"explain select * from t where 0 > a",
"explain select * from t where 0 <= a",
"explain select * from t where -1 < a",
"explain select * from t where -1 >= a",
"explain select * from t where -1 = a",
"explain select * from t where -1 <=> a",
"explain select * from t where -1 != a",
// Tuples with null b should be filered out.
"explain select * from t where b >= 0",
"explain select * from t where b != -1",
// Int64 overflow corner case.
"explain select * from t where a = 0xFFFFFFFFFFFFFFFF"
]
}
]