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


##########
flink-python/pyflink/table/expression.py:
##########
@@ -1487,6 +1487,13 @@ def array_distinct(self) -> 'Expression':
         """
         return _binary_op("arrayDistinct")(self)
 
+    def array_union(self, array) -> 'Expression':
+        """
+        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:
   same here



##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/BaseExpressions.java:
##########
@@ -1359,6 +1360,16 @@ public OutType arrayDistinct() {
         return toApiSpecificExpression(unresolvedCall(ARRAY_DISTINCT, 
toExpr()));
     }
 
+    /**
+     * Returns an array of the elements in the union of array1 and array2, 
without duplicates.

Review Comment:
   What about ordering?



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

Reply via email to