[ https://issues.apache.org/jira/browse/HIVE-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-2703: ------------------------------ Attachment: HIVE-2703.D2829.1.patch tamtam180 requested code review of "HIVE-2703 [jira] ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type". Reviewers: JIRA https://issues.apache.org/jira/browse/HIVE-2703 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... TEST PLAN EMPTY REVISION DETAIL https://reviews.facebook.net/D2829 AFFECTED FILES jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java MANAGE HERALD DIFFERENTIAL RULES https://reviews.facebook.net/herald/view/differential/ WHY DID I GET THIS EMAIL? https://reviews.facebook.net/herald/transcript/6423/ Tip: use the X-Herald-Rules header to filter Herald messages in your client. > 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 > Priority: Critical > Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira