[ https://issues.apache.org/jira/browse/CALCITE-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535971#comment-16535971 ]
Julian Hyde commented on CALCITE-2396: -------------------------------------- I can see a way to reduce the complexity of the method; can you please remove the common code before and after the "default:". > 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)