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


##########
core/src/main/java/org/apache/calcite/sql/fun/SqlJsonQueryFunction.java:
##########
@@ -45,12 +45,24 @@
 import java.util.List;
 import java.util.Optional;
 
+import static org.apache.calcite.sql.type.OperandTypes.family;
+
 import static java.util.Objects.requireNonNull;
 
 /**
  * The <code>JSON_QUERY</code> function.
  */
 public class SqlJsonQueryFunction extends SqlFunction {
+  static final SqlSingleOperandTypeChecker TYPE_CHECKER =

Review Comment:
   I think that the form you propose means "either 5 arguments, or just 1".
   ANY means "the argument may have any type".
   But what we need is "5 or 6".



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