You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "xwinie (JIRA)" <ji...@apache.org> on 2016/07/16 09:03:20 UTC

[jira] [Commented] (DRILL-3908) ResultSetMetadata.getColumnDisplaySize() does not return correct column length value

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

xwinie commented on DRILL-3908:
-------------------------------

我在查询mongo的时候,也发现rsmd.getColumnDisplaySize(1),这样在中文查询 时候就出现只显示一个中文,其他变成乱码!但是用jdbc plugin时候是正常的!

> ResultSetMetadata.getColumnDisplaySize() does not return correct column length value
> ------------------------------------------------------------------------------------
>
>                 Key: DRILL-3908
>                 URL: https://issues.apache.org/jira/browse/DRILL-3908
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>    Affects Versions: 1.1.0
>         Environment: Linux lnxx64r6 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Sergio Lob
>            Assignee: Parth Chandra
>            Priority: Critical
>             Fix For: Future
>
>
> ResultSetMetadata.getColumnDisplaySize() does not return correct column length value. In fact, invocation of this method seems to always return value 10.  This causes our JDBC application to process data incorrectly.  I see that this problem was referenced in jira DRILL-3151, but the this bug has apparently not been addressed, although status of DRILL-3151 is "resolved". This is a critical bug for us. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)