[
https://issues.apache.org/jira/browse/CALCITE-5217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jess Balint resolved CALCITE-5217.
----------------------------------
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/35c879044c3a1178760009fae0dd583e79856371
Thanks [~Aymeric-Dispa]!
> 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)