chunweilei commented on a change in pull request #1807:
URL: https://github.com/apache/calcite/pull/1807#discussion_r412860663



##########
File path: core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java
##########
@@ -800,6 +837,11 @@ public static boolean ge(BigDecimal b0, BigDecimal b1) {
     return b0.compareTo(b1) >= 0;
   }
 
+  /** SQL <code>&ge;</code> operator applied to List<Comparable> values. */
+  public static <T extends Comparable> boolean ge(List<T> b0, List<T> b1) {
+    return !lt(b0, b1);
+  }
+

Review comment:
       what about `array[1, 2, 3] = array[1, 2, 3]`?




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to