-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working