We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fdc813 commit 049e477Copy full SHA for 049e477
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/hash.scala
@@ -605,7 +605,7 @@ case class HiveHash(children: Seq[Expression]) extends HashExpression[Int] {
605
val childGen = child.genCode(ctx)
606
childGen.code + ctx.nullSafeExec(child.nullable, childGen.isNull) {
607
computeHash(childGen.value, child.dataType, childHash, ctx)
608
- } + s"${ev.value} = (31 * ${ev.value}) + $childHash;"
+ } + s"${ev.value} = (31 * ${ev.value}) + $childHash;" +
609
s"\n$childHash = 0;"
610
})
611
0 commit comments