Github user wzhfy commented on a diff in the pull request:
https://github.com/apache/spark/pull/19932#discussion_r155921370
--- Diff:
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala
---
@@ -413,32 +413,7 @@ private[hive] class HiveClientImpl(
case (key, _) => excludedTableProperties.contains(key)
}
val comment = properties.get("comment")
-
- // Here we are reading statistics from Hive.
- // Note that this statistics could be overridden by Spark's
statistics if that's available.
- val totalSize =
properties.get(StatsSetupConst.TOTAL_SIZE).map(BigInt(_))
--- End diff --
The code path is moved to the method `readHiveStats`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]