[ https://issues.apache.org/jira/browse/HIVE-26774?focusedWorklogId=835572&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-835572 ]
ASF GitHub Bot logged work on HIVE-26774: ----------------------------------------- Author: ASF GitHub Bot Created on: 24/Dec/22 11:31 Start Date: 24/Dec/22 11:31 Worklog Time Spent: 10m Work Description: sonarcloud[bot] commented on PR #3893: URL: https://github.com/apache/hive/pull/3893#issuecomment-1364514341 Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=apache_hive&pullRequest=3893) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=BUG) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=VULNERABILITY) [](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3893&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3893&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_hive&pullRequest=3893&resolved=false&types=SECURITY_HOTSPOT) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=CODE_SMELL) [1 Code Smell](https://sonarcloud.io/project/issues?id=apache_hive&pullRequest=3893&resolved=false&types=CODE_SMELL) [](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3893&metric=coverage&view=list) No Coverage information [](https://sonarcloud.io/component_measures?id=apache_hive&pullRequest=3893&metric=duplicated_lines_density&view=list) No Duplication information Issue Time Tracking ------------------- Worklog Id: (was: 835572) Time Spent: 20m (was: 10m) > 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: Major > 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)