Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xxhZs committed Dec 30, 2024
1 parent 12fb1f0 commit 8a5496d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/regress/data/expected/time.out
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ DROP TABLE TIME_TBL;
--
-- test EXTRACT
--
--@ postgresql's EXTRACT function only support microsecond
--@ SELECT EXTRACT(MICROSECOND FROM TIME '13:30:25.575401123');
--@ SELECT EXTRACT(MILLISECOND FROM TIME '13:30:25.575401123');
--@ SELECT EXTRACT(SECOND FROM TIME '13:30:25.575401123');
SELECT EXTRACT(MINUTE FROM TIME '13:30:25.575401');
extract
---------
Expand All @@ -155,6 +159,7 @@ ERROR: "time" units "fortnight" not recognized
SELECT EXTRACT(TIMEZONE FROM TIME '13:30:25.575401'); -- error
ERROR: "time" units "timezone" not recognized

--@ SELECT EXTRACT(EPOCH FROM TIME '13:30:25.575401123');
-- date_part implementation is mostly the same as extract, so only
-- test a few cases for additional coverage.
SELECT date_part('microsecond', TIME '13:30:25.575401');
Expand Down

0 comments on commit 8a5496d

Please sign in to comment.