Skip to content
Snippets Groups Projects
Commit 8e629b10 authored by Kazuaki Ishizaki's avatar Kazuaki Ishizaki Committed by Yin Huai
Browse files

[SPARK-12530][BUILD] Fix build break at Spark-Master-Maven-Snapshots from #1293

Compilation error caused due to string concatenations that are not a constant
Use raw string literal to avoid string concatenations

https://amplab.cs.berkeley.edu/jenkins/view/Spark-Packaging/job/Spark-Master-Maven-Snapshots/1293/

Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>

Closes #10488 from kiszk/SPARK-12530.
parent d80cc90b
No related branches found
No related tags found
No related merge requests found
...@@ -57,9 +57,10 @@ case class Md5(child: Expression) extends UnaryExpression with ImplicitCastInput ...@@ -57,9 +57,10 @@ case class Md5(child: Expression) extends UnaryExpression with ImplicitCastInput
* the hash length is not one of the permitted values, the return value is NULL. * the hash length is not one of the permitted values, the return value is NULL.
*/ */
@ExpressionDescription( @ExpressionDescription(
usage = "_FUNC_(input, bitLength) - Returns a checksum of SHA-2 family as a hex string of the " + usage =
"input. SHA-224, SHA-256, SHA-384, and SHA-512 are supported. Bit length of 0 is equivalent " + """_FUNC_(input, bitLength) - Returns a checksum of SHA-2 family as a hex string of the input.
"to 256", SHA-224, SHA-256, SHA-384, and SHA-512 are supported. Bit length of 0 is equivalent to 256."""
,
extended = "> SELECT _FUNC_('Spark', 0);\n " + extended = "> SELECT _FUNC_('Spark', 0);\n " +
"'529bc3b07127ecb7e53a4dcf1991d9152c24537d919178022b2c42657f79a26b'") "'529bc3b07127ecb7e53a4dcf1991d9152c24537d919178022b2c42657f79a26b'")
case class Sha2(left: Expression, right: Expression) case class Sha2(left: Expression, right: Expression)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment