patch 4.0

This commit is contained in:
wangzelin.wzl
2022-10-24 10:34:53 +08:00
parent 4ad6e00ec3
commit 93a1074b0c
10533 changed files with 2588271 additions and 2299373 deletions

View File

@ -15,7 +15,8 @@ select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2
#select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2 is null) and (not((1 + 2 > v.c2) and false));
##case should not be eliminated
select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2 is null) and (((1 + 2 > v.c2) and false) + 2 > -2);
# TODO shengle pre calc expr extract and calc bug: https://work.aone.alibaba-inc.com/issue/37559700
# select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2 is null) and (((1 + 2 > v.c2) and false) + 2 > -2);
##case arithmatic operator
select * from t2 left join (select * from t1) as v on t2.c1 = v.c2 where (v.c2 is null) and (1 + 2 > v.c2);