Skip to content

Commit 1df0b5b

Browse files
committed
format to scala type
1 parent 60ccde1 commit 1df0b5b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class MiscFunctionsSuite extends SparkFunSuite with ExpressionEvalHelper {
2424

2525
test("md5") {
2626
checkEvaluation(Md5(Literal("ABC")), "902fbdd2b1df0c4f70b4a5d23525e932")
27-
checkEvaluation(Md5(Literal.create(Array[Byte](1, 2, 3, 4, 5, 6), BinaryType)), "6ac1e56bc78f031059be7be854522c4c")
27+
checkEvaluation(Md5(Literal.create(Array[Byte](1, 2, 3, 4, 5, 6), BinaryType)),
28+
"6ac1e56bc78f031059be7be854522c4c")
2829
checkEvaluation(Md5(Literal.create(null, BinaryType)), null)
2930
checkEvaluation(Md5(Literal.create(null, StringType)), null)
3031
}

sql/core/src/main/scala/org/apache/spark/sql/functions.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ object functions {
13491349

13501350
/**
13511351
* Calculates the MD5 digest and returns the value as a 32 character hex string.
1352-
*
1352+
*
13531353
* @group misc_funcs
13541354
* @since 1.5.0
13551355
*/

0 commit comments

Comments
 (0)