Github user heary-cao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21968#discussion_r214502781
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/aggregate/RowBasedHashMapGenerator.scala
 ---
    @@ -48,6 +48,8 @@ class RowBasedHashMapGenerator(
         val keySchema = ctx.addReferenceObj("keySchemaTerm", groupingKeySchema)
         val valueSchema = ctx.addReferenceObj("valueSchemaTerm", bufferSchema)
     
    +    val numVarLenFields = groupingKeys.map(_.dataType).count(dt => 
!UnsafeRow.isFixedLength(dt))
    --- End diff --
    
    @cloud-fan We want to discuss, how to modify?


---

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

Reply via email to