[ 
https://issues.apache.org/jira/browse/CALCITE-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17850874#comment-17850874
 ] 

xiong duan commented on CALCITE-6423:
-------------------------------------

Fixed in 
[8186fa4|https://github.com/apache/calcite/commit/d1ebe165ac1a1d60528d6ae26de45b8d38186fa4].
 Thanks for the review [~mbudiu] .

> Invalid unparse for CHAR without precision in MySQLDialect
> ----------------------------------------------------------
>
>                 Key: CALCITE-6423
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6423
>             Project: Calcite
>          Issue Type: Improvement
>    Affects Versions: 1.37.0
>            Reporter: xiong duan
>            Assignee: xiong duan
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> As code review comment in [https://github.com/apache/calcite/pull/3799.]
> Execute SQL :
> {code:java}
> select cast(product_id as char) from product{code}
> Expected MySQL SQL should be:
> {code:java}
> select cast(product_id as char) from product{code}
> But is:
> {code:java}
> select cast(product_id as char(1)) from product{code}



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

Reply via email to