[ https://issues.apache.org/jira/browse/HIVE-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871380#action_12871380 ]
Paul Yang commented on HIVE-1179: --------------------------------- Yeah, I see your concern, but we're using mutable objects for performance reasons in this case and I believe there is an assumption that you shouldn't keep references to objects passed through the operator DAG (in general). +1 > Add UDF array_contains > ---------------------- > > Key: HIVE-1179 > URL: https://issues.apache.org/jira/browse/HIVE-1179 > Project: Hadoop Hive > Issue Type: New Feature > Reporter: Zheng Shao > Assignee: Arvind Prabhakar > Attachments: HIVE-1179-1.patch, HIVE-1179-2.patch, HIVE-1179-3.patch, > HIVE-1179.patch > > > Returns true or false, depending on whether an element is in an array. > {{array_contains(T element, array<T> theArray)}} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.