We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 934da69 commit 8abac33Copy full SHA for 8abac33
sql/hive/src/test/scala/org/apache/spark/sql/hive/StatisticsSuite.scala
@@ -946,9 +946,7 @@ class StatisticsSuite extends StatisticsCollectionTestBase with TestHiveSingleto
946
sql(s"CREATE TABLE $format (key STRING, value STRING) STORED AS $format")
947
sql(s"INSERT INTO TABLE $format SELECT * FROM src")
948
949
- val hasHiveStats = !isConverted
950
- checkTableStats(format, hasSizeInBytes = hasHiveStats, expectedRowCounts = None)
951
-
+ checkTableStats(format, hasSizeInBytes = !isConverted, expectedRowCounts = None)
952
sql(s"ANALYZE TABLE $format COMPUTE STATISTICS")
953
checkTableStats(format, hasSizeInBytes = true, expectedRowCounts = Some(500))
954
}
0 commit comments