Closed l1t1 closed 4 years ago
other tests
test=# select 1 where (0,null) in((0,0));
?column?
----------
(0 rows)
test=# select 1 where (0,null) not in((0,0));
?column?
----------
(0 rows)
test=# select 1 where (0,null) in((0,null));
?column?
----------
(0 rows)
test=# select 1 where (0,0) in((0,null));
?column?
----------
(0 rows)
test=# select 1 where (0,0) in((0,0));
?column?
----------
1
the result is same as oracle,close
https://github.com/Tencent/TBase/commit/6abec7e1fba490e94a685dd314f1f8b502b437e1 and https://github.com/Tencent/TBase/blob/6abec7e1fba490e94a685dd314f1f8b502b437e1/src/test/regress/expected/subselect_1.out says it fixed a bug #7597, but the newer version's result seems wrong too. the version build by https://github.com/Tencent/TBase/archive/master.zip
and the version build with https://github.com/Tencent/TBase/archive/v2.1.0.tar.gz