Skip to content

Commit

Permalink
Address comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
dongjoon-hyun committed Oct 16, 2017
1 parent 934da69 commit 8abac33
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -946,9 +946,7 @@ class StatisticsSuite extends StatisticsCollectionTestBase with TestHiveSingleto
sql(s"CREATE TABLE $format (key STRING, value STRING) STORED AS $format")
sql(s"INSERT INTO TABLE $format SELECT * FROM src")

val hasHiveStats = !isConverted
checkTableStats(format, hasSizeInBytes = hasHiveStats, expectedRowCounts = None)

checkTableStats(format, hasSizeInBytes = !isConverted, expectedRowCounts = None)
sql(s"ANALYZE TABLE $format COMPUTE STATISTICS")
checkTableStats(format, hasSizeInBytes = true, expectedRowCounts = Some(500))
}
Expand Down

0 comments on commit 8abac33

Please sign in to comment.