You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2013/01/05 21:42:12 UTC

[jira] [Commented] (HIVE-3630) udf_substr.q fails when using JDK7

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

Ashutosh Chauhan commented on HIVE-3630:
----------------------------------------

Chris,
I think underlying problem is HIVE-3840. Once we fix that (via which null binary columns will be printed as NULL instead of null) this problem should go away. Right ?
                
> udf_substr.q fails when using JDK7
> ----------------------------------
>
>                 Key: HIVE-3630
>                 URL: https://issues.apache.org/jira/browse/HIVE-3630
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.10.0, 0.9.1, 0.11.0
>            Reporter: Chris Drome
>            Assignee: Chris Drome
>         Attachments: HIVE-3630-0.10.patch, HIVE-3630-0.9.patch, HIVE-3630-trunk.patch
>
>
> Internal error: Cannot find ConstantObjectInspector for BINARY
> This exception has two causes.
> JDK7 iterators do not return values in the same order as JDK6, which selects a different implementation of this UDF when the first argument is null. With JDK7 this happens to be the binary version.
> The binary version is not implemented properly which ultimately causes the exception when the method is called.

--
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