Yeah, the assert on line 70 looks bogus. Probably we never hit it because of assertions being off for task execution, but now that changes due to constant folding? Anyway, go ahead and change it to 1 instead of 2.
Not sure why you're getting the regex error from diff with - Doverwrite=true; maybe some diff version issue? On Oct 5, 2011, at 3:50 PM, "Jonathan Chang (Commented) (JIRA)" <j...@apache.org > wrote: > > [ > https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121565#comment-13121565 > > ] > > Jonathan Chang commented on HIVE-2470: > -------------------------------------- > > UDF_BITMAP_EMPTY seems broken. Line 50 asserts that the length = 1, > but line 70 asserts that length = 2. Can you confirm? > >> Improve support for Constant Object Inspectors >> ---------------------------------------------- >> >> Key: HIVE-2470 >> URL: https://issues.apache.org/jira/browse/HIVE-2470 >> Project: Hive >> Issue Type: Improvement >> Reporter: Jonathan Chang >> Assignee: Jonathan Chang >> Attachments: HIVE-1360.part2.patch, HIVE-2470.patch, >> HIVE-2470.patch.3, HIVE-2470.patch.4, HIVE-2470.patch.5 >> >> >> ConstantObjectInspectors are nice but they need to be more widely >> supported and used. In particular, >> * More functions need to be using them. >> * There need to be facilities for propagating constness. >> * Support for complex types must be added. > > -- > 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 > >