[ https://issues.apache.org/jira/browse/HIVE-2470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117629#comment-13117629 ]
John Sichi commented on HIVE-2470: ---------------------------------- I don't understand how reflection works with the existing annotation support for marking functions as deterministic. Hive will always see the same annotation value for EVAL, regardless of what is annotated on NUMBER_ROWS, right? Or is there another change coming along to address that? Also, since there are likely to only be very few special functions such as EVAL, wouldn't it be better to put the onus on them to declare themselves as needing special handling for the folding, and for the rest, always fold if marked as deterministic, otherwise never fold? > 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 > > > 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