zhiqiang-hhhh commented on issue #25644:
URL: https://github.com/apache/doris/issues/25644#issuecomment-1774706711

   Planner of 2.0.2 generates a wrong plan:
   
   
![e2bcb71c-ed98-463a-9588-9955f2b2cc03](https://github.com/apache/doris/assets/42906151/7ee3aacd-bb5d-44cb-bc66-c39e9c73f727)
   
   `if(ifnull(CAST(TRUE AS TINYINT), 0), 'US', 'other')`  should be corrected 
to 
    
   `if(CAST(ifnull(CAST(TRUE AS TINYINT), 0) AS BOOLEAN), 'US', 'other')`
   
   **This problem has already been fixed in branch-2.0, release 2.0.3 will 
contain the fix.**
   


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

Reply via email to