xuyangzhong commented on code in PR #24828:
URL: https://github.com/apache/flink/pull/24828#discussion_r1627414393


##########
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:
   Sorry, perhaps I haven't made myself clear, I want to keep the latter part 
the same. 
   ```
   Returns an ARRAY that contains the elements from array1 that are not in 
array2, without duplicates. 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.
   ```



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