hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Yang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1179) Add UDF array_contains
Date Tue, 25 May 2010 02:42:25 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12870955#action_12870955
] 

Paul Yang commented on HIVE-1179:
---------------------------------

It should be okay as several other UDF's have a member 'result' variable to reduce object
creation - see UDFAbs for example. Since UDFAbs outputs a double, could you use it to demonstrate
the potential issue?


> 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.


Mime
View raw message