manannan2017 opened a new issue #2258: when using <=>  operator,i meet some 
problems
URL: https://github.com/apache/incubator-doris/issues/2258
 
 
   1、sql:
   select  cast('2019-09-09' as int) <=> NULL, cast('2019' as int) <=> NULL;
   ERROR 1064 (HY000): Unexpected exception: null
   excepted equal:
   select  NULL <=> NULL,  2019 <=> NULL;
   
   2、select 'a' <=> NULL, '2019-09-09' <=> NULL, 'true' <=> NULL, 78.367 <=> 
NULL;
   ERROR 5012 (HY000): 'a' is not a number
   excepted res:
   0 0 0 0
   
   3、table describe:
   
![image](https://user-images.githubusercontent.com/33174388/69305444-f1b74380-0c5e-11ea-96b9-6827cf59055f.png)
   
   k6 is char
   
![image](https://user-images.githubusercontent.com/33174388/69305476-190e1080-0c5f-11ea-9ffb-eeb4e47f89db.png)
   #2136 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to