You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2023/03/26 10:24:00 UTC
[jira] [Updated] (CALCITE-4698) Respect input datetime types and precision for datetime_plus and timestampadd
[ https://issues.apache.org/jira/browse/CALCITE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin updated CALCITE-4698:
-------------------------------------
Summary: Respect input datetime types and precision for datetime_plus and timestampadd (was: Respect input datetime and precision for datetime_plus and timestampadd)
> Respect input datetime types and precision for datetime_plus and timestampadd
> -----------------------------------------------------------------------------
>
> 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)