Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/20368#discussion_r163377070
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/InMemoryRelation.scala
---
@@ -77,7 +77,7 @@ case class InMemoryRelation(
// Underlying columnar RDD hasn't been materialized, use the stats
from the plan to cache
statsOfPlanToCache
} else {
- Statistics(sizeInBytes = batchStats.value.longValue)
+ Statistics(sizeInBytes = batchStats.value.longValue, hints =
statsOfPlanToCache.hints)
--- End diff --
That is misleading. Conceptually, that is wrong.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]