-
- Downloads
[SPARK-21083][SQL] Store zero size and row count when analyzing empty table
## What changes were proposed in this pull request? We should be able to store zero size and row count after analyzing empty table. This pr also enhances the test cases for re-analyzing tables. ## How was this patch tested? Added a new test case and enhanced some test cases. Author: Zhenhua Wang <wangzhenhua@huawei.com> Closes #18292 from wzhfy/analyzeNewColumn.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/execution/command/AnalyzeTableCommand.scala 2 additions, 3 deletions...che/spark/sql/execution/command/AnalyzeTableCommand.scala
- sql/core/src/test/scala/org/apache/spark/sql/StatisticsCollectionSuite.scala 13 additions, 0 deletions...cala/org/apache/spark/sql/StatisticsCollectionSuite.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/StatisticsSuite.scala 44 additions, 8 deletions...est/scala/org/apache/spark/sql/hive/StatisticsSuite.scala
Please register or sign in to comment