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/09/23 09:04:47 UTC

[GitHub] [incubator-doris] imay opened a new issue #1848: Unable to cast datetime to decimal

imay opened a new issue #1848: Unable to cast datetime to decimal
URL: https://github.com/apache/incubator-doris/issues/1848
 
 
   **Describe the bug**
   ```
   select cast(k11 as decimal(19, 0)) from baseall;
   ```
   `k11` is datetime type column. This query will return NULL for this column.
   
   But in PrimitiveType.java, Datetime type to decimal type is supported in implicitCastMap.
   

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