You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2011/08/08 19:04:27 UTC

[jira] [Reopened] (HIVE-1631) JDBC driver returns wrong precision, scale, or column size for some data types

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

Patrick Hunt reopened HIVE-1631:
--------------------------------


I'll create an additional patch (incl more testing) for this. Thanks Mythili.

> JDBC driver returns wrong precision, scale, or column size for some data types
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-1631
>                 URL: https://issues.apache.org/jira/browse/HIVE-1631
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.7.0
>            Reporter: Steven Wong
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 0.8.0
>
>         Attachments: HIVE-1631.patch
>
>
> For some data types, these methods return values that do not conform to the JDBC spec:
> org.apache.hadoop.hive.jdbc.HiveResultSetMetaData.getPrecision(int)
> org.apache.hadoop.hive.jdbc.HiveResultSetMetaData.getScale(int)
> org.apache.hadoop.hive.jdbc.HiveResultSetMetaData.getColumnDisplaySize(int)
> org.apache.hadoop.hive.jdbc.JdbcColumn.getColumnSize()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira