You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2020/07/13 08:49:30 UTC

[GitHub] [calcite] rubenada commented on a change in pull request #2062: [CALCITE-4094] Allow SqlOperator of SqlKind#OTHER_FUNCTION to define a Strong.Policy

rubenada commented on a change in pull request #2062:
URL: https://github.com/apache/calcite/pull/2062#discussion_r453492836



##########
File path: core/src/main/java/org/apache/calcite/sql/SqlOperator.java
##########
@@ -891,6 +893,15 @@ public SqlReturnTypeInference getReturnTypeInference() {
     return returnTypeInference;
   }
 
+  /**
+   * @return the {@link Strong.Policy} strategy for this operator, or null if
+   * the policy inference is implemented by a subclass override
+   * @see Strong
+   */
+  public Supplier<Strong.Policy> getStrongPolicyInference() {
+    return null;
+  }
+

Review comment:
       Thanks for your comments @danny0405 , I have fixed the javadoc.




----------------------------------------------------------------
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:
users@infra.apache.org