Skip to content

Commit

Permalink
Address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyum committed Jul 5, 2019
1 parent 06f8bf1 commit 589745d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/core/src/test/resources/sql-tests/inputs/pgSQL/date.sql
Expand Up @@ -36,6 +36,7 @@ SELECT f1 AS `Three` FROM DATE_TBL
--
-- Check all the documented input formats
--
-- [SPARK-28259] Date/Time Output Styles and Date Order Conventions
-- SET datestyle TO iso; -- display results in ISO

-- SET datestyle TO ymd;
Expand Down Expand Up @@ -276,6 +277,7 @@ SELECT date '5874898-01-01'; -- out of range
-- SELECT EXTRACT(CENTURY FROM INTERVAL '99 y'); -- 0
-- SELECT EXTRACT(CENTURY FROM INTERVAL '-99 y'); -- 0
-- SELECT EXTRACT(CENTURY FROM INTERVAL '-100 y'); -- -1

-- [SPARK-28017] Enhance date DATE_TRUNC
--
-- test trunc function!
Expand Down
Expand Up @@ -425,6 +425,7 @@ SELECT date '5874898-01-01'




DROP TABLE DATE_TBL
-- !query 46 schema
struct<>
Expand Down

0 comments on commit 589745d

Please sign in to comment.