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

Khurram Faraaz commented on DRILL-3908:
---------------------------------------

getColumnDisplaySize method of interface ResultSetMetaData should return, the 
normal maximum number of characters allowed as the width of the designated 
column. In this case since the column is defined to be of VARCHAR type the 
maximum allowed width is 4000 bytes.

> 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: 1.3.0
>
>
> 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)

Reply via email to