liyafan82 commented on a change in pull request #2242:
URL: https://github.com/apache/calcite/pull/2242#discussion_r517087047
##########
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:
Right, as @julianhyde pointed out, some operators are only for internal
use
(https://issues.apache.org/jira/browse/CALCITE-4363?focusedCommentId=17223122&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17223122).
In addition, some operators are supported by most databases, but not all
databases (e.g. sqrt).
----------------------------------------------------------------
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:
[email protected]