Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21860#discussion_r228434359
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/HashAggregateExec.scala
 ---
    @@ -831,7 +832,14 @@ case class HashAggregateExec(
         ctx.currentVars = new 
Array[ExprCode](aggregateBufferAttributes.length) ++ input
     
         val updateRowInRegularHashMap: String = {
    -      ctx.INPUT_ROW = unsafeRowBuffer
    +      val updatedTmpAggBuffer =
    +        if (isFastHashMapEnabled && !isVectorizedHashMapEnabled) {
    +          updatedAggBuffer
    --- End diff --
    
    Did you update? This is not what I proposed...


---

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

Reply via email to