You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2022/12/07 18:49:00 UTC
[jira] [Resolved] (CALCITE-5360) Implement TIMESTAMP_ADD function (compatible with BigQuery)
[ https://issues.apache.org/jira/browse/CALCITE-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-5360.
----------------------------------
Resolution: Fixed
Fixed in [1156efba|https://github.com/apache/calcite/commit/1156efba972c90ab7a484e745d95bcecadf27ecc]; thanks for the PR, [~tanclary]!
{{TIMESTAMP_DIFF}}, previously part of this case, has been moved to CALCITE-5423.
> Implement TIMESTAMP_ADD function (compatible with BigQuery)
> -----------------------------------------------------------
>
> Key: CALCITE-5360
> URL: https://issues.apache.org/jira/browse/CALCITE-5360
> Project: Calcite
> Issue Type: Sub-task
> Components: core
> Reporter: TJ Banghart
> Assignee: Tanner Clary
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.33.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Calcite already supports TIMESTAMPADD and TIMESTAMPDIFF. We should try mapping the BQ style syntax to these already implemented functions.
> We did something similar for TIMESTAMP_TRUNC and TIME_TRUNC which conveniently mapped to FLOOR in [CALCITE-5269|https://issues.apache.org/jira/browse/CALCITE-5269]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)