You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "TJ Banghart (Jira)" <ji...@apache.org> on 2022/11/01 19:26:00 UTC

[jira] [Created] (CALCITE-5360) Implement BigQuery TIMESTAMP_ADD and TIMESTAMP_DIFF

TJ Banghart created CALCITE-5360:
------------------------------------

             Summary: Implement BigQuery TIMESTAMP_ADD and TIMESTAMP_DIFF
                 Key: CALCITE-5360
                 URL: https://issues.apache.org/jira/browse/CALCITE-5360
             Project: Calcite
          Issue Type: Sub-task
          Components: core
            Reporter: TJ Banghart


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)