snuyanzin commented on code in PR #22717:
URL: https://github.com/apache/flink/pull/22717#discussion_r1223351706


##########
docs/data/sql_functions.yml:
##########
@@ -646,6 +646,9 @@ collection:
   - 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 any of the array is null, the function will 
return null.
+  - sql: ARRAY_CONCAT(array1, array2, tail...)
+    table: array1.arrayConcat(array1, array2, tail...)
+    description: Returns an array of the elements in the concat of at least 
two arrays, allow duplicates. If all of the arrays are null, the function will 
return null.

Review Comment:
   In jira it was mentioned that we could do it in BigQuery's way
   BigQuery allows having only one array and just returns it back.
   Why should we not allow this?



-- 
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]

Reply via email to