github.com/whtcorpsinc/milevadb-prod@v0.0.0-20211104133533-f57f4be3b597/dbs/memristed/memex/testdata/partition_pruner_in.json (about) 1 [ 2 { 3 "name": "TestHashPartitionPruner", 4 "cases": [ 5 "explain select * from t1 where id = 7 and a = 6", 6 "explain select * from t3 where id = 9 and a = 1", 7 "explain select * from t2 where id = 9 and a = -110", 8 "explain select * from t1 where id = -17", 9 "explain select * from t1 join t2 on (t1.id = t2.id) where t1.id = 5 and t2.a = 7", 10 "explain select * from t1 left join t2 on t1.id = 1 and t2.a = 2 where t2.id = 7", 11 "explain select * from t2 join t1 on t1.id = t2.id and t2.a = t1.id and t2.id = 12", 12 "explain select * from t1 left join t2 on true where t1.a = 1 and false", 13 "explain select * from t1 left join t2 on true where t1.a = 1 and null", 14 "explain select * from t1 left join t2 on true where t1.a = null", 15 "explain select * from t4 where d = '2020-10-07 10:40:00' and a = 1", 16 "explain select * from t5 where d = '2020-10-07'", 17 "explain select * from t6 where a is null", 18 "explain select * from t6 where b is null", 19 "explain select * from t6 where a = 7 or a = 6", 20 "explain select * from t6 where a in (6, 7)", 21 "explain select * from t5 where d is null", 22 "explain select * from t7 where b = -3 and a is null", 23 "explain select * from t7 where (a, b) in ((3, 4), (5, 6))", 24 "explain select * from t7 where (a = 1 and b = 2) or (a = 3 and b = 4)", 25 "explain select * from t7 where (a = 1 and b = 2) or (a = 1 and b = 2)", 26 "explain select * from t7 partition(p0) where (a = 1 and b = 2) or (a = 3 and b = 4)" 27 ] 28 } 29 ]