Skip to content

Commit 405a5f6

Browse files
authored
Minor: add a test for current_time (no args) (#10509)
1 parent 33aea7e commit 405a5f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

datafusion/sqllogictest/test_files/timestamps.slt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2795,3 +2795,9 @@ SELECT '2000-12-01 04:04:12' AT TIME ZONE 'America/New York';
27952795
# abbreviated timezone is not supported
27962796
statement error
27972797
SELECT '2023-03-12 02:00:00' AT TIME ZONE 'EDT';
2798+
2799+
# Test current_time without parentheses
2800+
query B
2801+
select current_time = current_time;
2802+
----
2803+
true

0 commit comments

Comments
 (0)