Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20636#discussion_r169151430
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/codegen/BufferHolderSparkSubmitSuite.scala
 ---
    @@ -58,15 +58,20 @@ object BufferHolderSparkSubmitSuite {
         val holder = new BufferHolder(new UnsafeRow(1000))
     
         holder.reset()
    +    // execute here since reset() updates holder.cursor
    +    val smallBuffer = new Array[Byte](holder.cursor)
    --- End diff --
    
    Ping, @liufengdb and @gatorsmile .


---

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

Reply via email to