pan3793 commented on code in PR #52168:
URL: https://github.com/apache/spark/pull/52168#discussion_r2309022080


##########
sql/hive/src/test/scala/org/apache/spark/sql/hive/StatisticsSuite.scala:
##########
@@ -1616,11 +1616,10 @@ class StatisticsSuite extends 
StatisticsCollectionTestBase with TestHiveSingleto
         Seq(tbl, ext_tbl).foreach { tblName =>
           sql(s"INSERT INTO $tblName VALUES (1, 'a', '2019-12-13')")
 
-          val expectedSize = 690

Review Comment:
   when `spark.sql.statistics.size.autoUpdate.enabled` is `false` (it's the 
default value), table stats is None until executing `ANALYZE TABLE ...`
   
   I update the test to reflect that.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to