[ 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