You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geaflow.apache.org by "Adityaaprakash (via GitHub)" <gi...@apache.org> on 2026/06/18 07:06:55 UTC

[PR] Add ARRAY_REVERSE, ARRAY_MAX and ARRAY_MIN SQL functions [geaflow]

Adityaaprakash opened a new pull request, #802:
URL: https://github.com/apache/geaflow/pull/802

   ## What changed
   
   - Added built-in SQL UDFs for ARRAY_REVERSE, ARRAY_MAX, and ARRAY_MIN.
   - Registered the new array functions in BuildInSqlFunctionTable.
   - Added tests covering normal and edge cases.
   
   ## Behavior
   
   - ARRAY_REVERSE(null) returns null.
   - ARRAY_REVERSE preserves null elements while reversing order.
   - ARRAY_MAX and ARRAY_MIN ignore null elements.
   - ARRAY_MAX and ARRAY_MIN return null for null, empty, or all-null arrays.
   
   ## Tests
   
   Executed the array UDF test suite successfully.
   
   Fixes #792


-- 
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: issues-unsubscribe@geaflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@geaflow.apache.org
For additional commands, e-mail: issues-help@geaflow.apache.org