[
https://issues.apache.org/jira/browse/BEAM-2203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079880#comment-16079880
]
Xu Mingmin commented on BEAM-2203:
----------------------------------
not sure {{-}}, {{\+}} for date is converted to {{+($1, 1000)}}, here $1 is a
field with type {{TIMESTAMP}}, and {{1000}} has a type of
{{SqlTypeName.INTERVAL_TYPES}} with a bigdecimal value in millisecond. I think
it's not related with TIMESTAMPADD/TIMESTAMPDIFF, or maybe the two functions
are converted to {{\+}} {{\-}} in Calcite.
> 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: Kai Jiang
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)