This is an automated email from the ASF dual-hosted git repository.
yao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 67860390bb7b [SPARK-52237][DOCS] Fix the documentation of hypot
function
67860390bb7b is described below
commit 67860390bb7b26571628f289614c90670c285004
Author: Kent Yao <[email protected]>
AuthorDate: Wed May 21 13:37:25 2025 +0800
[SPARK-52237][DOCS] Fix the documentation of hypot function
### What changes were proposed in this pull request?
This PR fixes the documentation of hypot function
### Why are the changes needed?
These two square marks conflict emphasis signs of Markdown.
`**XX**`

### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?


### Was this patch authored or co-authored using generative AI tooling?
no
Closes #50962 from yaooqinn/SPARK-52237.
Authored-by: Kent Yao <[email protected]>
Signed-off-by: Kent Yao <[email protected]>
---
.../org/apache/spark/sql/catalyst/expressions/mathExpressions.scala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
index 6233f4613b34..9db2ac7f9b04 100644
---
a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
+++
b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
@@ -1383,8 +1383,10 @@ case class ShiftRightUnsigned(left: Expression, right:
Expression) extends BitSh
copy(left = newLeft, right = newRight)
}
+// scalastyle:off nonascii
@ExpressionDescription(
- usage = "_FUNC_(expr1, expr2) - Returns sqrt(`expr1`**2 + `expr2`**2).",
+ usage = "_FUNC_(expr1, expr2) - Returns sqrt(`expr1`\u00B2 +
`expr2`\u00B2).",
+ // scalastyle:on nonascii
examples = """
Examples:
> SELECT _FUNC_(3, 4);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]