You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/07 06:33:00 UTC

[jira] [Updated] (CALCITE-5027) Incorrect format for timestamp literals

     [ https://issues.apache.org/jira/browse/CALCITE-5027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated CALCITE-5027:
------------------------------------
    Labels: pull-request-available  (was: )

> Incorrect format for timestamp literals
> ---------------------------------------
>
>                 Key: CALCITE-5027
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5027
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Gregory Hart
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The SqlDialect#quoteTimestampLiteral method uses the wrong format for standard SQL. Instead of "day of month" it uses "day of year", and instead of seconds is uses milliseconds. To fix this method, the format should be changed to: 
> yyyy-MM-dd HH:mm:ss



--
This message was sent by Atlassian Jira
(v8.20.1#820001)