Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/20394#discussion_r163890891
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
---
@@ -62,7 +62,7 @@ case class InMemoryRelation(
@transient child: SparkPlan,
tableName: Option[String])(
@transient var _cachedColumnBuffers: RDD[CachedBatch] = null,
- val batchStats: LongAccumulator =
child.sqlContext.sparkContext.longAccumulator,
+ val sizeInBytesStats: LongAccumulator =
child.sqlContext.sparkContext.longAccumulator,
statsOfPlanToCache: Statistics = null)
--- End diff --
remove `null`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]