GitHub user wangyum opened a pull request: https://github.com/apache/spark/pull/20430
[SPARK-23263][SQL] Create table stored as parquet should update table size if automatic update table size is enabled â¦update table size is enabled ## What changes were proposed in this pull request? How to reproduce: ```sql bin/spark-sql --conf spark.sql.statistics.size.autoUpdate.enabled=true spark-sql> create table test_create_parquet stored as parquet as select 1; spark-sql> desc extended test_create_parquet; ``` The table statistics will not exists. This pr fix this issue. ## How was this patch tested? unit tests You can merge this pull request into a Git repository by running: $ git pull https://github.com/wangyum/spark SPARK-23263 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20430.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20430 ---- commit 08d31c0823e5f6c257b0917362c8e07b04702af2 Author: Yuming Wang <yumwang@...> Date: 2018-01-30T03:45:20Z create table stored as parquet should update table size if automatic update table size is enabled ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org