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

Alessandro Solimando resolved CALCITE-6919.
-------------------------------------------
    Resolution: Not A Problem

> Invalid unparse for CHAR without precision in PostgreSQL
> --------------------------------------------------------
>
>                 Key: CALCITE-6919
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6919
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.39.0
>            Reporter: Yu Xu
>            Assignee: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>
> In postgresql cast char with out precision would be char(1), it is keep the 
> same behavior with Mysql from test.
> eg:
> {code:java}
> select cast(product_id as char) from product {code}
> expected:
> {code:java}
> select cast(product_id as char) from product {code}
> but was:
> {code:java}
> select cast(product_id as char(1)) from product  {code}
>  
> need to fix the cast logical



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

Reply via email to