zclllyybb opened a new pull request, #39393: URL: https://github.com/apache/doris/pull/39393
## Proposed changes Issue Number: close #xxx ```sql mysql> select assert_true(1, "wrong"); +------------------------------------------+ | assert_true(cast(1 as BOOLEAN), 'wrong') | +------------------------------------------+ | 1 | +------------------------------------------+ 1 row in set (0.12 sec) mysql> select assert_true(1, nullable("wrong")); ERROR 1105 (HY000): errCode = 2, detailMessage = assert_true only accept constant for 2nd argument mysql> select assert_true(0, "wrong"); ERROR 1105 (HY000): errCode = 2, detailMessage = (10.16.10.8)[INVALID_ARGUMENT][E33] wrong ``` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org