You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kostiantyn Kudriavtsev (JIRA)" <ji...@apache.org> on 2013/12/21 13:14:08 UTC

[jira] [Created] (HIVE-6094) add UDF array_rcontains for ARRAY

Kostiantyn Kudriavtsev created HIVE-6094:
--------------------------------------------

             Summary: add UDF array_rcontains for ARRAY<String>
                 Key: HIVE-6094
                 URL: https://issues.apache.org/jira/browse/HIVE-6094
             Project: Hive
          Issue Type: New Feature
          Components: UDF
            Reporter: Kostiantyn Kudriavtsev
            Priority: Minor


Add new UDF array_rcontains for Array<String> to check if array contains string by regexp

For example, we have array of strings in the column FRIENDS, then we can check for if particular person has .+Smith in friends:
array_rcontains(FRIENDS, '.+Smith', 'i')
where 'i' means case sensitive, this is discussable option   



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)