Skip to content

Commit 8abac33

Browse files
committed
Address comments.
1 parent 934da69 commit 8abac33

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/StatisticsSuite.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -946,9 +946,7 @@ class StatisticsSuite extends StatisticsCollectionTestBase with TestHiveSingleto
946946
sql(s"CREATE TABLE $format (key STRING, value STRING) STORED AS $format")
947947
sql(s"INSERT INTO TABLE $format SELECT * FROM src")
948948

949-
val hasHiveStats = !isConverted
950-
checkTableStats(format, hasSizeInBytes = hasHiveStats, expectedRowCounts = None)
951-
949+
checkTableStats(format, hasSizeInBytes = !isConverted, expectedRowCounts = None)
952950
sql(s"ANALYZE TABLE $format COMPUTE STATISTICS")
953951
checkTableStats(format, hasSizeInBytes = true, expectedRowCounts = Some(500))
954952
}

0 commit comments

Comments
 (0)