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/11/04 03:04:56 UTC

[GitHub] [calcite] chunweilei commented on a change in pull request #2242: [CALCITE-4363] Need a utility to check if a SQL operator is standard

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



##########
File path: core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java
##########
@@ -482,6 +500,7 @@
    * <p>Its precedence is less than the prefix {@link #UNARY_PLUS +}
    * and {@link #UNARY_MINUS -} operators.
    */
+  @LibraryOperator(libraries = {STANDARD})
   public static final SqlBinaryOperator MINUS =
       new SqlMonotonicBinaryOperator(
           "-",

Review comment:
       So does it mean that not all operators in SqlStdOperatirTable belong to STANDARD?




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