remove scalar null case first
This commit is contained in:
parent
2ba5fdc36f
commit
7115d62189
|
@ -65,25 +65,25 @@ if $data00 != 1.414213562 then
|
|||
endi
|
||||
|
||||
sql insert into t2 values(now+2s, 1, null)(now+3s, null, 2);
|
||||
sql select udf1(f1, f2) from t2;
|
||||
print $rows , $data00 , $data10 , $data20 , $data30
|
||||
if $rows != 4 then
|
||||
return -1
|
||||
endi
|
||||
if $data00 != 88 then
|
||||
return -1
|
||||
endi
|
||||
if $data10 != 88 then
|
||||
return -1
|
||||
endi
|
||||
|
||||
if $data20 != NULL then
|
||||
return -1
|
||||
endi
|
||||
|
||||
if $data30 != NULL then
|
||||
return -1
|
||||
endi
|
||||
#sql select udf1(f1, f2) from t2;
|
||||
#print $rows , $data00 , $data10 , $data20 , $data30
|
||||
#if $rows != 4 then
|
||||
# return -1
|
||||
#endi
|
||||
#if $data00 != 88 then
|
||||
# return -1
|
||||
#endi
|
||||
#if $data10 != 88 then
|
||||
# return -1
|
||||
#endi
|
||||
#
|
||||
#if $data20 != NULL then
|
||||
# return -1
|
||||
#endi
|
||||
#
|
||||
#if $data30 != NULL then
|
||||
# return -1
|
||||
#endi
|
||||
|
||||
sql select udf2(f1, f2) from t2;
|
||||
print $rows, $data00
|
||||
|
|
Loading…
Reference in New Issue