kaijchen opened a new pull request, #32120:
URL: https://github.com/apache/doris/pull/32120

   ## Proposed changes
   
   Return an error when numerical cast result is out-of-range.
   
   Before:
   
![image](https://github.com/apache/doris/assets/5821159/c3cc34d8-3f68-45ff-8db5-a5cd80eec90d)
   
   After:
   
![image](https://github.com/apache/doris/assets/5821159/58854177-d8df-4db4-ae6e-6e40c209ba3c)
   
   Note: the behavior when `SELECT CAST(val AS INT)` is out-of-range is still 
different with MySQL.
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to