You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "chunweilei (via GitHub)" <gi...@apache.org> on 2023/05/09 03:01:06 UTC

[GitHub] [calcite] chunweilei commented on a diff in pull request #3192: [CALCITE-5602] Implement CSC and SEC function

chunweilei commented on code in PR #3192:
URL: https://github.com/apache/calcite/pull/3192#discussion_r1188066873


##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -1219,6 +1219,20 @@ static RelDataType deriveTypeSplit(SqlOperatorBinding operatorBinding,
           OperandTypes.NUMERIC,
           SqlFunctionCategory.NUMERIC);
 
+  @LibraryOperator(libraries = {ALL})
+  public static final SqlFunction CSC =
+      SqlBasicFunction.create("CSC",
+          ReturnTypes.DOUBLE_NULLABLE,

Review Comment:
   Do all the libraries have CSE and SEC function?



-- 
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: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org