[ https://issues.apache.org/jira/browse/HIVE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139367#comment-13139367 ]
Igor Kabiljo commented on HIVE-2532: ------------------------------------ @John: UDFRowSequence should already work, problem is when UDF returns ConstantOI, but has side-effects. One (not very useful) pair of UDFs for this could be FB_LOCAL_PROPERTY_SET(key, value) and FB_LOCAL_PROPERTY_GET(key), where FB_LOCAL_PROPERTY_SET returns ConstVoidOI, but has side-effects > Evaluation of non-deterministic/stateful UDFs should not be skipped even if > constant oi is returned. > ---------------------------------------------------------------------------------------------------- > > Key: HIVE-2532 > URL: https://issues.apache.org/jira/browse/HIVE-2532 > Project: Hive > Issue Type: Bug > Reporter: Jonathan Chang > Assignee: Jonathan Chang > > Even if constant oi is returned, these may have stateful/side-effect behavior > and hence need to be called each cycle. -- 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