You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d1e23e0
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: datafusion/sqllogictest/test_files/datetime/date_part.slt
+19-4Lines changed: 19 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1185,10 +1185,25 @@ SELECT extract(epoch from arrow_cast(2147483647, 'Duration(Nanosecond)')),
1185
1185
----
1186
1186
2.147483647 2.147483648
1187
1187
1188
-
query R
1189
-
SELECT extract(epoch from timestamp '2025-01-01 00:00:12.923350' - timestamp '2025-01-01 00:00:00')
1190
-
----
1191
-
12.92335
1188
+
# Reproducer from https://github.com/apache/datafusion/issues/26673: every row keeps its fraction.
1189
+
# Before the fix, the rows at or above 2^31 ns (2.147483648 s) lost their fraction.
0 commit comments