[
https://issues.apache.org/jira/browse/HIVE-26744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Taraka Rama Rao Lethavadla updated HIVE-26744:
----------------------------------------------
Description:
array_max(array(obj1, obj2,...)) - The function returns the maximum value in
array with elements for which order is supported
Example:
> SELECT array_max(array(1, 3, 0, NULL)) FROM src LIMIT 1;
3
> Add array_max and array_min UDFs
> ---------------------------------
>
> Key: HIVE-26744
> URL: https://issues.apache.org/jira/browse/HIVE-26744
> 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: 10m
> Remaining Estimate: 0h
>
> array_max(array(obj1, obj2,...)) - The function returns the maximum value in
> array with elements for which order is supported
> Example:
> > SELECT array_max(array(1, 3, 0, NULL)) FROM src LIMIT 1;
> 3
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)