rubenada commented on code in PR #3214:
URL: https://github.com/apache/calcite/pull/3214#discussion_r1202508174
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -1263,6 +1263,32 @@ private static RelDataType
arrayReturnType(SqlOperatorBinding opBinding) {
OperandTypes.NUMERIC,
SqlFunctionCategory.NUMERIC);
+ /** The {@code ACOSH(numeric)} function; returns the inverse hyperbolic
cosine
+ * of {@code value}. */
+ @LibraryOperator(libraries = {ALL})
+ public static final SqlFunction ACOSH =
+ SqlBasicFunction.create("ACOSH",
+ ReturnTypes.DOUBLE_NULLABLE,
+ OperandTypes.NUMERIC,
+ SqlFunctionCategory.NUMERIC);
+
+ /** The {@code ASINH(numeric)} function; returns the inverse hyperbolic sine
of {@code value}. */
+ @LibraryOperator(libraries = {ALL})
+ public static final SqlFunction ASINH =
+ SqlBasicFunction.create("ASINH",
+ ReturnTypes.DOUBLE_NULLABLE,
+ OperandTypes.NUMERIC,
+ SqlFunctionCategory.NUMERIC);
+
+ /** The {@code ATANH(numeric)} function. returns the inverse hyperbolic
tangent
Review Comment:
minor: I think you meant to have a `;` instead of `.` after "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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]