AngersZhuuuu commented on code in PR #36377:
URL: https://github.com/apache/spark/pull/36377#discussion_r865614369
##########
sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala:
##########
@@ -1270,6 +1271,10 @@ private[hive] object HiveClientImpl extends Logging {
}
// Disable CBO because we removed the Calcite dependency.
hiveConf.setBoolean("hive.cbo.enable", false)
+ // Disable auto gather statistic by default.
Review Comment:
> is there any case people need to enable auto gather statistics?
If user want to use the correct statistic properties of numFile and size.
Since spark have it's own way to update statistics, here disable this is
reasonable and we can have a migration doc?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]