You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/07/26 07:45:35 UTC

[GitHub] [spark] beliefer commented on a diff in pull request #37226: [MINOR][SQL] Simplify the description of built-in function.

beliefer commented on code in PR #37226:
URL: https://github.com/apache/spark/pull/37226#discussion_r929633553


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/aggregate/AnyValue.scala:
##########
@@ -32,7 +32,8 @@ import org.apache.spark.sql.types._
 @ExpressionDescription(
   usage = """
     _FUNC_(expr[, isIgnoreNull]) - Returns some value of `expr` for a group of rows.
-      If `isIgnoreNull` is true, returns only non-null values.""",
+      If `isIgnoreNull` is true, returns only non-null values.

Review Comment:
   Take this comment as example, `getUsage` of `ExpressionInfo` outputs show below.
   ![image](https://user-images.githubusercontent.com/8486025/180951837-03a77079-a1ec-490b-9dd6-d73d033e6002.png)
   no trailing `\n` here.



-- 
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: reviews-unsubscribe@spark.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org