[ 
https://issues.apache.org/jira/browse/CALCITE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17702874#comment-17702874
 ] 

Julian Hyde commented on CALCITE-4698:
--------------------------------------

Until CALCITE-5266 is fixed, max precision needs to remain 3.

> 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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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.20.10#820010)

Reply via email to