mihaibudiu commented on code in PR #4844:
URL: https://github.com/apache/calcite/pull/4844#discussion_r3198983164


##########
core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java:
##########
@@ -554,6 +554,38 @@ public static SqlOperandTypeChecker variadic(
           .or(OperandTypes.family(SqlTypeFamily.VARIANT))
           .or(OperandTypes.family(SqlTypeFamily.ANY));
 
+  /**
+   * Operand type-checking strategy for the colon operator: first operand
+   * must be {@code VARIANT} (or {@code ANY}); the second operand is a
+   * path expression and is not type-checked.
+   */
+  public static final SqlOperandTypeChecker COLON =

Review Comment:
   Is this code ever exercised if the convertlet table replaces this?
   I.e., does it have coverage in your tests?
   



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