@conn PrimaryDbAmode;
drop table if exists t_is_nan_0004;
create table t_is_nan_0004(v1 text, v2 varchar(100));
insert into t_is_nan_0004 values ('-3.402E+38', 'test');
insert into t_is_nan_0004 values ('3.402E+38', 'test');
insert into t_is_nan_0004 values ('1.79E+308', 'test');
insert into t_is_nan_0004 values ('-1.79E+308', '666');
select (v1+'1') is nan from t_is_nan_0004;
select (v1+'1') is not nan from t_is_nan_0004;
select v1 is nan from t_is_nan_0004;
select v1 is not nan from t_is_nan_0004;
select v1 is not nan as test from t_is_nan_0004;
select * from t_is_nan_0004 where v1 is nan;
select * from t_is_nan_0004 where v1 is nan or v2 = 'test';
select * from t_is_nan_0004 where v1 is not nan;
select * from t_is_nan_0004 where v1 is not nan and v2 = 'test';
select v1 is nan as test from t_is_nan_0004 where v1 is nan;
select v1 is nan from t_is_nan_0004 where v1 is not nan;
select v1 is not nan from t_is_nan_0004 where v1 is nan;
select v1 is not nan from t_is_nan_0004 where v1 is not nan;
drop table if exists t_is_nan_0004;