hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-4269) fix handling of binary type in hiveserver2, jdbc driver
Date Tue, 02 Apr 2013 21:35:16 GMT


Ashutosh Chauhan commented on HIVE-4269:

I tried it on clean checkout again and test passed, so I will treat it as a transient. Running
tests again. Will commit if tests pass.
> fix handling of binary type in hiveserver2, jdbc driver
> -------------------------------------------------------
>                 Key: HIVE-4269
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.11.0
>         Attachments: HIVE-4269.1.patch
> Need to use 'new String(byte[])' instead of 'byte[].toString()' when converting to String
for jdbc, in SQLOperation.convertLazyToJava()
> Need to add support for binary in jdbc driver code.
> THe exception that gets thrown while trying to access binary column is like this - 
> {code}
>     [junit] org.apache.hive.service.cli.HiveSQLException: java.lang.ClassCastException:
[B cannot be cast to java.lang.String
>     [junit]     at org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(
>     [junit]     at org.apache.hive.service.cli.operation.OperationManager.getOperationNextRowSet(
>     [junit]     at org.apache.hive.service.cli.session.HiveSessionImpl.fetchResults(
>     [junit]     at org.apache.hive.service.cli.CLIService.fetchResults(
> {code}

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:

View raw message