beliefer commented on a change in pull request #29161: URL: https://github.com/apache/spark/pull/29161#discussion_r457792887
########## File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/regexpExpressions.scala ########## @@ -426,6 +428,14 @@ object RegExpExtract { */ @ExpressionDescription( usage = "_FUNC_(str, regexp[, idx]) - Extracts a group that matches `regexp`.", + arguments = """ + Arguments: + * str - a string expression. + * regexp - a string expression. a string representing a regular expression. + The regex string should be a Java regular expression. + * idx - a int expression that representing the group index. The group index should be + 0 or positive. If `idx` is not specified, the default group index value is 1. Review comment: OK. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org