You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/12/06 03:26:17 UTC
[GitHub] [incubator-doris] manannan2017 opened a new issue #2396: 【sql mode】there is a problem in operator priority
manannan2017 opened a new issue #2396: 【sql mode】there is a problem in operator priority
URL: https://github.com/apache/incubator-doris/issues/2396
1、set sql mode
set sql_mode=PIPES_AS_CONCAT;
2、problems
2.1
doris:
![image](https://user-images.githubusercontent.com/33174388/70292963-bdc14e00-181a-11ea-909b-948ee96afe37.png)
mysql:
![image](https://user-images.githubusercontent.com/33174388/70292974-c7e34c80-181a-11ea-9549-cd82fcceda25.png)
2.2
select (1||'a'>0) || 1;
ERROR 1064 (HY000): Unexpected exception: null
excepted NULL or #below:
![image](https://user-images.githubusercontent.com/33174388/70293051-05e07080-181b-11ea-9b66-ec266493627e.png)
#2252
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org