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/25 21:46:50 UTC

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

     [ https://issues.apache.org/jira/browse/HIVE-6094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kostiantyn Kudriavtsev updated HIVE-6094:
-----------------------------------------

    Description: 
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')
   

  was:
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   


> 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')
>    



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)