[
https://issues.apache.org/jira/browse/CALCITE-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-2396.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.17.0
Fixed in
[cf3eca29|http://git-wip-us.apache.org/repos/asf/calcite/commit/cf3eca29];
thanks for the PR, [~jduong]! (I refactored the method to reduce its
complexity, as described above.)
> 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
> Fix For: 1.17.0
>
>
> 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)