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

Taraka Rama Rao Lethavadla updated HIVE-26774:
----------------------------------------------
    Priority: Minor  (was: Major)

> Implement array_slice UDF to get the subset of elements from an array 
> (subarray)
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-26774
>                 URL: https://issues.apache.org/jira/browse/HIVE-26774
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>            Reporter: Taraka Rama Rao Lethavadla
>            Assignee: Taraka Rama Rao Lethavadla
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> *array_slice(array, start, length)* - Returns the subset or range of elements 
> from an array (subarray).
> Example:
>   
> {noformat}
> > SELECT array_slice(array(1, 2, 3,4), 2,2) FROM src LIMIT 1;
> 3,4{noformat}
> Returns empty list if start/length are out of range of the array



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to