[
https://issues.apache.org/jira/browse/CALCITE-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17780568#comment-17780568
]
Runkang He commented on CALCITE-6066:
-------------------------------------
I have removed the support for Oracle from title after I checked there is such
function in Oracle
[documentation|https://docs.oracle.com/cd/B28928_01/server.103/b28925/sqfunc.htm],
and test fails in Oracle Live SQL Platform.
> Add HYPOT function (enabled in Spark library)
> ---------------------------------------------
>
> Key: CALCITE-6066
> URL: https://issues.apache.org/jira/browse/CALCITE-6066
> Project: Calcite
> Issue Type: New Feature
> Components: core
> Affects Versions: 1.35.0
> Reporter: Runkang He
> Assignee: Runkang He
> Priority: Major
>
> Add HYPOT function (enabled in Spark library)
> HYPOT: calculates the hypotenuse of a right-angle triangle. For example:
> {code:sql}
> SELECT hypot(3, 4);
> > 5.0
> {code}
> See more at [Spark
> |https://spark.apache.org/docs/latest/api/sql/index.html#hypot]doc.
> Note that I have checked there is no function with the same name in
> MySQL/PostgreSQL/Hive/Oracle.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)