We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e687d commit a151885Copy full SHA for a151885
datafusion/sqllogictest/test_files/expr/date_part.slt
@@ -528,11 +528,21 @@ select extract(second from '2024-08-09T12:13:14')
528
----
529
14
530
531
+query I
532
+select extract(second from timestamp '2024-08-09T12:13:14')
533
+----
534
+14
535
+
536
query I
537
select extract(seconds from '2024-08-09T12:13:14')
538
539
540
541
542
+select extract(seconds from timestamp '2024-08-09T12:13:14')
543
544
545
546
547
SELECT extract(second from arrow_cast('23:32:50.123456789'::time, 'Time64(Nanosecond)'))
548
@@ -876,3 +886,5 @@ true
876
886
877
887
query error DataFusion error: Internal error: unit Nanosecond not supported
878
888
SELECT (date_part('nanosecond', now()) = EXTRACT(nanosecond FROM now()))
889
890
0 commit comments