Dandandan opened a new issue, #7847:
URL: https://github.com/apache/arrow-datafusion/issues/7847

   ### Describe the bug
   
   In a recent version of DataFusion 
   
   
   ```
   select date_part('second', '2020-09-08T12:00:12.12345678+00:00');
   +----------------------------------------------------------------------+
   | date_part(Utf8("second"),Utf8("2020-09-08T12:00:12.12345678+00:00")) |
   +----------------------------------------------------------------------+
   | 12.0                                                                 |
   +----------------------------------------------------------------------+
   ```
   
   Expected (I get this answer in DataFusion 28).
   
   ```
   ❯ select date_part('second', '2020-09-08T12:00:12.12345678+00:00');
   +----------------------------------------------------------------------+
   | date_part(Utf8("second"),Utf8("2020-09-08T12:00:12.12345678+00:00")) |
   +----------------------------------------------------------------------+
   | 12.12345678                                                          |
   +----------------------------------------------------------------------+
   1 row in set. Query took 0.015 seconds.
   ```
   
   
   ### To Reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to