James Duong created CALCITE-2614: ------------------------------------ Summary: Converting datetime_plus to timestampadd should be done recursively Key: CALCITE-2614 URL: https://issues.apache.org/jira/browse/CALCITE-2614 Project: Calcite Issue Type: Bug Components: core Reporter: James Duong Assignee: Julian Hyde
The method in RexUtil convertDatetimePlusToTimestampAdd() should handle the case where the timestamp operand is another call to Datetime_plus. (eg SELECT <date_column> - interval '1' hour - interval '1' hour) This can be impemented by having the datetime operand accept the same visitor. -- This message was sent by Atlassian JIRA (v7.6.3#76005)