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 2020/06/15 04:13:56 UTC

[GitHub] [incubator-doris] sduzh opened a new issue #3862: Failed to case decimal as date

sduzh opened a new issue #3862:
URL: https://github.com/apache/incubator-doris/issues/3862


   **Describe the bug**
   Failed to  case decimal as date
   
   **To Reproduce**
   ```SQL
   select CAST(0.187326698420553 AS DATETIME);
   ```
   
   **Expected behavior**
   ```
   +---------------------------------+
   | CAST(0.187326698420553 AS DATE) |
   +---------------------------------+
   | 0000-00-00                      |
   +---------------------------------+
   ```
   
   **Real behavior**
   ```
   ERROR 1064 (HY000): errCode = 2, detailMessage = Unable to find _ZN5doris18DecimalV2Operators16cast_to_date_valEPN9doris_udf15FunctionContextERKNS1_12DecimalV2ValE
   ```
   


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



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


[GitHub] [incubator-doris] sduzh commented on issue #3862: Failed to cast decimal as date

Posted by GitBox <gi...@apache.org>.
sduzh commented on issue #3862:
URL: https://github.com/apache/incubator-doris/issues/3862#issuecomment-643900274


   Found by [sqlancer](https://github.com/sqlancer/sqlancer) (with some modifications)


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



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