snuyanzin commented on code in PR #21958: URL: https://github.com/apache/flink/pull/21958#discussion_r1109698642
########## docs/data/sql_functions.yml: ########## @@ -617,6 +617,9 @@ collection: - sql: ARRAY_DISTINCT(haystack) table: haystack.arrayDistinct() description: Returns an array with unique elements. If the array itself is null, the function will return null. Keeps ordering of elements. + - sql: ARRAY_UNION(array1, array2) + table: haystack.arrayUnion(array) + description: Returns an array of the elements in the union of array1 and array2, without duplicates. If both of the array are null, the function will return null. Review Comment: From the description it is not clear what happens if only one array is `null` -- 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-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org