[ 
https://issues.apache.org/jira/browse/IGNITE-20968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Evgeny Stanilovsky updated IGNITE-20968:
----------------------------------------
    Fix Version/s: 3.2
                       (was: 3.1)

> Sql. Operator Datetime - Datetime = Interval is not defined.
> ------------------------------------------------------------
>
>                 Key: IGNITE-20968
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20968
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>            Reporter: Maksim Zhuravkov
>            Priority: Minor
>              Labels: ignite-3
>             Fix For: 3.2
>
>
> SQL statement with minus operator for datetime types (date, time, timestamp) 
> fails with the following error:
> {code:java}
>   Failed to validate query. From line 1, column 8 to line 1, column 44:
>         Cannot apply '-' to arguments of type '<DATE> - <DATE>'. Supported 
> form(s):
>          '<NUMERIC> - <NUMERIC>'
>          '<DATETIME_INTERVAL> - <DATETIME_INTERVAL>'
>          '<DATETIME> - <DATETIME_INTERVAL>'
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to