[ 
https://issues.apache.org/jira/browse/SPARK-18911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15756389#comment-15756389
 ] 

Apache Spark commented on SPARK-18911:
--------------------------------------

User 'wzhfy' has created a pull request for this issue:
https://github.com/apache/spark/pull/16323

> Decouple Statistics and CatalogTable
> ------------------------------------
>
>                 Key: SPARK-18911
>                 URL: https://issues.apache.org/jira/browse/SPARK-18911
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Zhenhua Wang
>
> Statistics in LogicalPlan should use attributes to refer to columns rather 
> than column names, because two columns from two relations can have the same 
> column name. But CatalogTable doesn't have the concepts of attribute or 
> broadcast hint in Statistics. Therefore, putting Statistics in CatalogTable 
> is confusing. We need to define a different statistic structure in 
> CatalogTable, which is only responsible for interacting with metastore, and 
> is converted to statistics in LogicalPlan when it is used.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to