[ 
https://issues.apache.org/jira/browse/CALCITE-6066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhen Chen reopened CALCITE-6066:
--------------------------------

> 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: Zhen Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.42.0
>
>
> Add HYPOT function (enabled in Spark library)
> HYPOT: returns sqrt(x^2+ y^2) without intermediate overflow or underflow. 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)

Reply via email to