[ https://issues.apache.org/jira/browse/HIVE-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13427133#comment-13427133 ]
rohithsharma commented on HIVE-2532: ------------------------------------ Hi, I have one doubt on ASSERT_TRUE() funtion. Currently ASSERT_TRUE() is returning NULL.Its PrimitiveType is VOID.Once query is executed in CLI mode, output of query prints NULL in console where as in JDBC client throw an exception(HIVE-3200).The serde implimentation for PrimitiveType VOID throw exception. Correct me if I am wrong, >From the user perspective I feel its better to return boolean value i.e TRUE >instead of returning NULL. Please give your opinion.. > 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 > Fix For: 0.8.0 > > Attachments: D273.1.patch, D273.2.patch, D273.3.patch, D273.4.patch, > D273.4.patch, D273.4.patch > > > 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