change result type of not_expr from int to int32

This commit is contained in:
JinmaoLi
2024-05-20 06:46:28 +00:00
committed by ob-robot
parent a8864cf775
commit cefd6c6723
3 changed files with 19 additions and 12 deletions

View File

@ -2835,22 +2835,22 @@ def test t1 t1 a a 8 20 1 Y 32768 0 63
+------+
select !w, !!w, !(!w), ! !w, not w, not not w, w is true, w is not false, (not w) is false, not(w is false), if(w,'true','false'), !1+1, !'a', !false, !isnull('a'), !!isnull('a') from (select 0 w union select 1) w;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def !w 8 1 1 Y 32896 0 63
def !!w 8 1 1 Y 32896 0 63
def !(!w) 8 1 1 Y 32896 0 63
def ! !w 8 1 1 Y 32896 0 63
def not w 8 1 1 Y 32896 0 63
def not not w 8 1 1 Y 32896 0 63
def !w 3 1 1 Y 32896 0 63
def !!w 3 1 1 Y 32896 0 63
def !(!w) 3 1 1 Y 32896 0 63
def ! !w 3 1 1 Y 32896 0 63
def not w 3 1 1 Y 32896 0 63
def not not w 3 1 1 Y 32896 0 63
def w is true 3 1 1 N 32897 0 63
def w is not false 3 1 1 N 32897 0 63
def (not w) is false 3 1 1 N 32897 0 63
def not(w is false) 8 1 1 N 32897 0 63
def not(w is false) 3 1 1 N 32897 0 63
def if(w,'true','false') 253 20 5 N 1 0 45
def !1+1 8 2 1 N 32897 0 63
def !'a' 8 1 1 N 32897 0 63
def !false 8 1 1 N 32897 0 63
def !isnull('a') 8 1 1 N 32897 0 63
def !!isnull('a') 8 1 1 N 32897 0 63
def !'a' 3 1 1 N 32897 0 63
def !false 3 1 1 N 32897 0 63
def !isnull('a') 3 1 1 N 32897 0 63
def !!isnull('a') 3 1 1 N 32897 0 63
+------+------+-------+------+-------+-----------+-----------+----------------+------------------+-----------------+----------------------+------+------+--------+--------------+---------------+
| !w | !!w | !(!w) | ! !w | not w | not not w | w is true | w is not false | (not w) is false | not(w is false) | if(w,'true','false') | !1+1 | !'a' | !false | !isnull('a') | !!isnull('a') |
+------+------+-------+------+-------+-----------+-----------+----------------+------------------+-----------------+----------------------+------+------+--------+--------------+---------------+