wojustme commented on a change in pull request #2692:
URL: https://github.com/apache/calcite/pull/2692#discussion_r786462715



##########
File path: 
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java
##########
@@ -706,4 +707,17 @@ private SqlLibraryOperators() {
   @LibraryOperator(libraries = { POSTGRESQL })
   public static final SqlOperator INFIX_CAST =
       new SqlCastOperator();
+
+  /** Null-safe "<=>" equal operator used by MySQL, for example
+   * {@code 1<=>NULL}. */
+  @LibraryOperator(libraries = { MYSQL })
+  public static final SqlOperator NULL_SAFE_EQUAL =

Review comment:
       @NobiGo 
   Ok, got it.
   In my project, I didn't meet these complex scenes.
   I will add some related test cases.
   Thanks a lot.
   ----
   I debug it, I found realizing `(a, b) <=> (x, y)` in current framework of 
binaryOperatorsTokens is too difficult.
   Should me define a scalable token to support `(a, b) <=> (x, y)`?




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