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

Apache Spark commented on SPARK-24690:
--------------------------------------

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

> Add a new config to control plan stats computation in LogicalRelation
> ---------------------------------------------------------------------
>
>                 Key: SPARK-24690
>                 URL: https://issues.apache.org/jira/browse/SPARK-24690
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.1
>            Reporter: Takeshi Yamamuro
>            Priority: Major
>
> We cannot currently enable StarSchemaDetection.reorderStarJoins because we 
> need to turn off CBO to enable it but StarSchemaDetection internally 
> references LogicalPlan.stats.rowCount.
> This rowCount is used in LogicalRelation if CBO disabled. 
> This ticket is to propose a new separate config so that LogicalRelation can 
> use rowCount to compute data statistics.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to