You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/10/17 09:24:08 UTC

[GitHub] [incubator-doris] EmmyMiao87 commented on issue #2002: Coalesce function match error in tpcds

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org