You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jess Balint (Jira)" <ji...@apache.org> on 2023/02/07 22:34:01 UTC
[jira] [Closed] (CALCITE-5217) Implement unparseSqlIntervalLiteral in the Firebolt dialect
[ https://issues.apache.org/jira/browse/CALCITE-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jess Balint closed CALCITE-5217.
--------------------------------
Resolved in release 1.33.0 (2023-02-06)
> Implement unparseSqlIntervalLiteral in the Firebolt dialect
> -----------------------------------------------------------
>
> Key: CALCITE-5217
> URL: https://issues.apache.org/jira/browse/CALCITE-5217
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.31.0
> Reporter: Aymeric Dispa
> Assignee: Aymeric Dispa
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.33.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> The syntax used by Firebolt for the operator INTERVAL does not match with the query generated. To fix it, the method unparseSqlIntervalLiteral must be implemented in the dialect.
> What we get with the current dialect:
> {code:java}
> <date_column> + INTERVAL '1' DAY {code}
>
> Format supported by Firebolt
> {code:java}
> <date_column> + INTERVAL '1 DAY' {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)