grundprinzip commented on code in PR #46434: URL: https://github.com/apache/spark/pull/46434#discussion_r1597553930
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/TryEval.scala: ########## @@ -132,6 +132,43 @@ case class TryDivide(left: Expression, right: Expression, replacement: Expressio } } +// scalastyle:off line.size.limit +@ExpressionDescription( + usage = "_FUNC_(dividend, divisor) - Returns the remainder after `expr1`/`expr2`. " + + "`dividend` must be a numeric. `divisor` must be a numeric.", + examples = """ + Examples: + > SELECT _FUNC_(3, 2); + 1 + > SELECT _FUNC_(2L, 2L); + 0 + > SELECT _FUNC_(3.0, 2.0); + 1.0 + > SELECT _FUNC_(1, 0); + NULL + """, + since = "3.2.0", Review Comment: Done -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
