You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/16 09:18:45 UTC

[GitHub] [spark] xy2953396112 commented on a change in pull request #24596: [SPARK-27694][SQL] CTAS created data source table support collect statistics

xy2953396112 commented on a change in pull request #24596: [SPARK-27694][SQL] CTAS created data source table support collect statistics
URL: https://github.com/apache/spark/pull/24596#discussion_r284614068
 
 

 ##########
 File path: sql/core/src/main/scala/org/apache/spark/sql/execution/command/createDataSourceTables.scala
 ##########
 @@ -193,6 +193,8 @@ case class CreateDataSourceTableAsSelectCommand(
       }
     }
 
+    CommandUtils.updateTableStats(sparkSession, table)
 
 Review comment:
   It looks like a specific requirement.Maybe it should use 'ANALYZE TABLE <tablename> COMPUTE STATISTICS'.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org