Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
3.0.0
-
None
-
None
Description
postgres=# select extract(minute from INTERVAL '1 YEAR 10 DAYS 50 MINUTES'); date_part ----------- 50 (1 row) postgres=# select extract(minute from cast('2019-07-01 17:12:33.068' as timestamp) - cast('2019-07-01 15:57:07.912' as timestamp)); date_part ----------- 15 (1 row)
Attachments
Issue Links
- duplicates
-
SPARK-31119 Add interval value support for extract expression as source
- Resolved