[
https://issues.apache.org/jira/browse/CALCITE-5484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-5484.
----------------------------------
Fix Version/s: 1.34.0
Resolution: Fixed
Fixed in
[65a5efc0|https://github.com/apache/calcite/commit/65a5efc0d681d989baa890184c435c6c8340718c];
thanks for the PR, [~tanclary]!
> Implement BigQuery DATETIME_SUB
> -------------------------------
>
> Key: CALCITE-5484
> URL: https://issues.apache.org/jira/browse/CALCITE-5484
> Project: Calcite
> Issue Type: Sub-task
> Reporter: Tanner Clary
> Assignee: Tanner Clary
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.34.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> BigQuery's {{DATETIME_SUB(timestamp, interval)}} returns the timestamp that
> occurs {{interval}} before {{timestamp}}.
> Example: {{DATETIME_SUB(TIMESTAMP '2008-12-25 15:30:00', INTERVAL 5 MINUTE)}}
> would return: '2008-12-25 15:25:00'.
> [BigQuery
> docs|https://cloud.google.com/bigquery/docs/reference/standard-sql/datetime_functions#datetime_sub]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)