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