[
https://issues.apache.org/jira/browse/CALCITE-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532041#comment-16532041
]
James Duong commented on CALCITE-2396:
--------------------------------------
Some time units currently allow this but not all.
PR for this issue:
https://github.com/apache/calcite/pull/748
> TIMESTAMPADD and DATETIME_PLUS should allow NULL intervals
> ----------------------------------------------------------
>
> Key: CALCITE-2396
> URL: https://issues.apache.org/jira/browse/CALCITE-2396
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.16.0
> Reporter: James Duong
> Assignee: Julian Hyde
> Priority: Major
>
> TIMESTAMPADD(<time_unit>, NULL, <datetime>) and <datetime> + NULL should be
> permitted and return NULL.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)