EmmyMiao87 commented on issue #2002: Coalesce function match error in tpcds URL: https://github.com/apache/incubator-doris/issues/2002#issuecomment-543088120 The reason is that the function coalesce(varchar, varchar) match the function of coalesce(decimal, int) in doris. For the IS_SUPERTYPE_OF of compare mode, it will find the match function from front to back. In function declaration, the coalesce(varchar, varchar) in front of the coalesce(decimal, decimal). The priority of coalesce function in IS_SUPERTYPE_OF compare mode is incorrect. So the outer layer function(sum) could not handle the varchar of input param.
---------------------------------------------------------------- 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]
