You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jesus Camacho Rodriguez (Jira)" <ji...@apache.org> on 2020/02/26 01:55:00 UTC

[jira] [Resolved] (CALCITE-3734) MySQL JDBC rewrite is producing queries with CHAR with range beyond 255

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

Jesus Camacho Rodriguez resolved CALCITE-3734.
----------------------------------------------
    Fix Version/s: 1.23.0
       Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/e427180b6a55445fe246b00c60259a95f96bdbf2. Thanks for your contribution [~vgarg]!

> MySQL JDBC rewrite is producing queries with CHAR with range beyond 255
> -----------------------------------------------------------------------
>
>                 Key: CALCITE-3734
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3734
>             Project: Calcite
>          Issue Type: Bug
>          Components: jdbc-adapter
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.23.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Queries containing cast to varchar/string is rewritten into cast to CHAR with range beyond 255 causing query failure. This range/precision should be limited to 255.
> I will provide a test case later.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)