You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "James Duong (JIRA)" <ji...@apache.org> on 2018/10/05 17:39:00 UTC
[jira] [Created] (CALCITE-2614) Converting datetime_plus to
timestampadd should be done recursively
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)