Zhenhua Wang created SPARK-18911:
------------------------------------

             Summary: 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