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

    https://github.com/apache/spark/pull/21189#discussion_r185042726
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/MemorySinkSuite.scala
 ---
    @@ -220,11 +220,11 @@ class MemorySinkSuite extends StreamTest with 
BeforeAndAfter {
     
         sink.addBatch(0, 1 to 3)
         plan.invalidateStatsCache()
    -    assert(plan.stats.sizeInBytes === 12)
    +    assert(plan.stats.sizeInBytes === 36)
     
         sink.addBatch(1, 4 to 6)
         plan.invalidateStatsCache()
    -    assert(plan.stats.sizeInBytes === 24)
    +    assert(plan.stats.sizeInBytes === 72)
    --- End diff --
    
    `MemorySinkV2 ` is mainly for testing. I think the stats changes will not 
impact anything, right? @tdas @jose-torres 


---

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

Reply via email to