Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19878#discussion_r154805001
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/hash.scala
 ---
    @@ -270,17 +270,36 @@ abstract class HashExpression[E] extends Expression {
     
       override def doGenCode(ctx: CodegenContext, ev: ExprCode): ExprCode = {
         ev.isNull = "false"
    -    val childrenHash = ctx.splitExpressions(children.map { child =>
    +
    +    val childrenHash = children.map { child =>
           val childGen = child.genCode(ctx)
           childGen.code + ctx.nullSafeExec(child.nullable, childGen.isNull) {
             computeHash(childGen.value, child.dataType, ev.value, ctx)
           }
    -    })
    +    }
    +
    +    val hashResultType = ctx.javaType(dataType)
    +    val codes = if (ctx.INPUT_ROW == null || ctx.currentVars != null) {
    --- End diff --
    
    That one has been merged, but this one is still different. 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to