liuyongvs commented on code in PR #3202:
URL: https://github.com/apache/calcite/pull/3202#discussion_r1195897134


##########
core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java:
##########
@@ -3797,6 +3797,29 @@ public static List distinct(List list) {
     return new ArrayList<>(result);
   }
 
+  /** Support the ARRAY_EXCEPT function. */

Review Comment:
   @herunkang2018 the spark supports it has two way because the runtime binary 
compare
   1) complex type, compare using for loop
   2) simple type using OpenHashSet, and it just for check
   and i supports array_union in flink , you can see here 
https://github.com/apache/flink/pull/22483#event-9255748646
   
   the result should consider order, which is different from 
multiset_union/multiset_intersect in calcite implementation
   



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