[
https://issues.apache.org/jira/browse/BEAM-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240713#comment-16240713
]
Anton Kedin commented on BEAM-2203:
-----------------------------------
Also, it looks like infix 'timestamp - timestamp' is also not supported by
Calcite:
{code}
CalciteContextException: From line 1, column 8 to line 1, column 72: Cannot
apply '-' to arguments of type '<TIMESTAMP(0)> - <TIMESTAMP(0)>'. Supported
form(s): '<NUMERIC> - <NUMERIC>'
'<DATETIME_INTERVAL> - <DATETIME_INTERVAL>'
'<DATETIME> - <DATETIME_INTERVAL>'
{code}
> Arithmetic operators: support DATETIME & DATETIME_INTERVAL
> ----------------------------------------------------------
>
> Key: BEAM-2203
> URL: https://issues.apache.org/jira/browse/BEAM-2203
> Project: Beam
> Issue Type: New Feature
> Components: dsl-sql
> Reporter: James Xu
> Assignee: Anton Kedin
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)