morningman opened a new issue #3275: [Bug] str_to_date error
URL: https://github.com/apache/incubator-doris/issues/3275
 
 
   **Describe the bug**
   
   ```
   mysql> select str_to_date('11/09/2011', '%m/%d/%Y');
   +---------------------------------------+
   | str_to_date('11/09/2011', '%m/%d/%Y') |
   +---------------------------------------+
   | 2011-11-09 00:00:00                   |
   +---------------------------------------+
   ```
   
   Expected:
   ```
   mysql> select str_to_date('2008-4-2','%Y-%m-%d');
   +------------------------------------+
   | str_to_date('2008-4-2','%Y-%m-%d') |
   +------------------------------------+
   | 2008-04-02                         |
   +------------------------------------+
   ```
   
   
   

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

Reply via email to