Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/10423#discussion_r48224082
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
---
@@ -53,6 +56,11 @@ case class Md5(child: Expression) extends
UnaryExpression with ImplicitCastInput
* asking for an unsupported SHA function, the return value is NULL. If
either argument is NULL or
* the hash length is not one of the permitted values, the return value is
NULL.
*/
+@ExpressionDescription(
+ usage = "_FUNC_(input) - Returns a checksum of SHA-2 family as a hex
string of the input. " +
--- End diff --
this accepts two args?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]