xuyangzhong commented on code in PR #24828:
URL: https://github.com/apache/flink/pull/24828#discussion_r1626871428
##########
docs/data/sql_functions.yml:
##########
@@ -687,7 +687,7 @@ collection:
description: Returns a map created from an arrays of keys and values. Note
that the lengths of two arrays should be the same.
- sql: ARRAY_EXCEPT(array1, array2)
table: arrayOne.arrayExcept(arrayTwo)
- description: Returns an ARRAY that contains the elements from array1 that
are not in array2. If no elements remain after excluding the elements in array2
from array1, the function returns an empty ARRAY. If one or both arguments are
NULL, the function returns NULL. The order of the elements from array1 is kept.
+ description: Returns an ARRAY that contains the elements from array1 that
are not in array2. If no elements remain after excluding the elements in array2
from array1, the function returns an empty ARRAY. If one or both arguments are
NULL, the function returns NULL. The order of the elements from array1 is kept
however the duplicates are removed.
Review Comment:
nit: what about following the format with 'ARRAY_UNION'?
```
Returns an ARRAY that contains the elements from array1 that are not in
array2, without duplicates.
...
```
--
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]