[ https://issues.apache.org/jira/browse/HIVE-26774?focusedWorklogId=842389&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-842389 ]
ASF GitHub Bot logged work on HIVE-26774: ----------------------------------------- Author: ASF GitHub Bot Created on: 30/Jan/23 22:17 Start Date: 30/Jan/23 22:17 Worklog Time Spent: 10m Work Description: saihemanth-cloudera merged PR #3893: URL: https://github.com/apache/hive/pull/3893 Issue Time Tracking ------------------- Worklog Id: (was: 842389) Time Spent: 1h 40m (was: 1.5h) > 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: 1h 40m > 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)