[
https://issues.apache.org/jira/browse/HIVE-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870265#action_12870265
]
Paul Yang commented on HIVE-1179:
---------------------------------
One minor point - can you make result a member variable of
GenericUDFArrayContains? This will reduce object creation.
The patch needs to be regenerated against the current trunk, but otherwise
looks good.
> 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.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.