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)

Reply via email to