xy720 opened a new pull request #2799: Filter NullLiteral in castTo method instead of throwing a exception URL: https://github.com/apache/incubator-doris/pull/2799 Issue #2399 #2396 (2.2) We used to use **Precondition** to throw an exception when encounter a NullLiteral in castTo method. And this may make the user not get the desired result. For example, we get a unexpected exception in query: (In sql mode `PIPES_AS_CONCAT_MODE`) `select (1 || 'a' > 0) + 1;` which should return a result 'Null'.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
