Caizhi Weng created CALCITE-4698:
------------------------------------
Summary: Return type of timestampadd(..., ..., timestamp_ltz)
should be timestamp_ltz instead of timestamp
Key: CALCITE-4698
URL: https://issues.apache.org/jira/browse/CALCITE-4698
Project: Calcite
Issue Type: Bug
Components: core
Reporter: Caizhi Weng
Currently {{SqlTimestampAddFunction#deduceType}} does not deal with
timestamp_ltz type correctly. Return type of {{timestampadd(..., ...,
timestamp_ltz)}} will be timestamp but it should be timestamp_ltz.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)