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.
 
 

28 lines
1.0 KiB

[
{
"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"
]
}
]