You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "LakeShen (Jira)" <ji...@apache.org> on 2023/07/24 11:29:00 UTC

[jira] [Updated] (CALCITE-5870) Babel Parser support DECIMAL '99.999' to SqlNumericLiteral sql grammar

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

LakeShen updated CALCITE-5870:
------------------------------
    Summary: Babel Parser support  DECIMAL '99.999' to SqlNumericLiteral sql grammar  (was: Babel Parser support  DECIMAL '99.999' sql grammar)

> Babel Parser support  DECIMAL '99.999' to SqlNumericLiteral sql grammar
> -----------------------------------------------------------------------
>
>                 Key: CALCITE-5870
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5870
>             Project: Calcite
>          Issue Type: Improvement
>          Components: babel
>            Reporter: LakeShen
>            Priority: Major
>             Fix For: 1.36.0
>
>         Attachments: image-2023-07-24-19-23-30-316.png, image-2023-07-24-19-26-44-131.png
>
>
> In Postgresql,It supports the following sql grammar:
> {code:java}
> select DECIMAL '99.999' {code}
> Postgresql converts DECIMAL '99.999' to numeric constants:
> !image-2023-07-24-19-23-30-316.png|width=399,height=186!
> Now babel sql parser converts DECIMAL '99.999' to AS SqlBasicCall,like this: !image-2023-07-24-19-26-44-131.png|width=529,height=224!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)