You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/01/09 11:28:41 UTC

[jira] [Commented] (HIVE-2703) ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type

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

Hudson commented on HIVE-2703:
------------------------------

Integrated in Hive-trunk-hadoop2 #54 (See [https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
    HIVE-3059. Revert HIVE-2703, add testcase for non-string partition columns
           passed to transform operator, updated TestJdbcDriver.
(Kevin Wilfong via namit) (Revision 1343331)
HIVE-2703 ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns
irrespective of partition column type (tamtam180 via namit) (Revision 1329492)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1343331
Files : 
* /hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/partcols1.q
* /hive/trunk/ql/src/test/results/clientpositive/partcols1.q.out

namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1329492
Files : 
* /hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java

                
> ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2703
>                 URL: https://issues.apache.org/jira/browse/HIVE-2703
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 0.8.0
>            Reporter: Mythili Gopalakrishnan
>            Assignee: tamtam180
>            Priority: Critical
>         Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2703.D2829.1.patch
>
>
> ResultSetMetaData.getColumnType() always returns VARCHAR(string) as column type, no matter what the column type is for the partition column.
> However DatabaseMetadata.getColumnType() returns correct type. 
> Create a table with a partition column having a type other than string, you will see that ResultSet.getColumnType() always returns string as the type for int or boolean or float columns...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira