dongjoon-hyun commented on a change in pull request #21668: [SPARK-24690][SQL]
Add a config to control plan stats computation in LogicalRelation
URL: https://github.com/apache/spark/pull/21668#discussion_r349904551
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/StatisticsCollectionTestBase.scala
##########
@@ -354,7 +354,7 @@ abstract class StatisticsCollectionTestBase extends
QueryTest with SQLTestUtils
assert(catalogTable.stats.get.colStats == Map("c1" -> emptyCatalogColStat))
// Check relation statistics
- withSQLConf(SQLConf.CBO_ENABLED.key -> "true") {
+ withSQLConf(SQLConf.CBO_ENABLED.key -> "true",
SQLConf.PLAN_STATS_ENABLED.key -> "true") {
Review comment:
This change can be reverted from this PR.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]