erenavsarogullari opened a new issue, #14469:
URL: https://github.com/apache/datafusion/issues/14469
### Is your feature request related to a problem or challenge?
Currently, Spark, Snowflake and Presto support `array_max` function. This
can also be useful for DataFusion.
```
array_max(make_array(3,1,4,2)) => 4
array_max(make_array('h','e','o','l','l',NULL)) => o
array_max(make_array(NULL,NULL)) => NULL
```
Spark:
https://docs.databricks.com/en/sql/language-manual/functions/array_max.html
Snowflake: https://docs.snowflake.com/en/sql-reference/functions/array_max
Presto: https://prestodb.io/docs/current/functions/array.html#array_max-x-x
### Describe the solution you'd like
Adding `array_max` function support to DataFusion.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]