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

    https://github.com/apache/spark/pull/21070#discussion_r184144930
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/columnar/InMemoryColumnarQuerySuite.scala
 ---
    @@ -503,7 +503,7 @@ class InMemoryColumnarQuerySuite extends QueryTest with 
SharedSQLContext {
                 case plan: InMemoryRelation => plan
               }.head
               // InMemoryRelation's stats is file size before the underlying 
RDD is materialized
    -          assert(inMemoryRelation.computeStats().sizeInBytes === 740)
    +          assert(inMemoryRelation.computeStats().sizeInBytes === 800)
    --- End diff --
    
    Then it looks fine, but the new metadata max/min fields are added in file 
metadata, column metadata and page header metadata? Any formula we can use to 
calculate the size increase?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to