Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
For example, all queries:
SELECT (DATE '2021-01-02' - DATE '2021-01-01') DAYS SELECT (DATE '2021-01-02' - DATE '2021-01-01') HOURS SELECT (DATE '2021-01-02' - DATE '2021-01-01') MINUTES SELECT (DATE '2021-01-02' - DATE '2021-01-01') SECONDS
Returns 86400000 (the value in milliseconds)
For YEAR time unit return the same value as for MONTH.
Attachments
Issue Links
- is fixed by
-
IGNITE-14975 Calcite engine. Introduce suppot INTERVAL type.
- Resolved
- is part of
-
IGNITE-12248 Apache Calcite based query execution engine
- Open
- is related to
-
IGNITE-14975 Calcite engine. Introduce suppot INTERVAL type.
- Resolved