You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2019/11/24 16:31:00 UTC

[jira] [Resolved] (SPARK-24690) Add a new config to control plan stats computation in LogicalRelation

     [ https://issues.apache.org/jira/browse/SPARK-24690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved SPARK-24690.
-----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 21668
[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
>            Assignee: Takeshi Yamamuro
>            Priority: Major
>             Fix For: 3.0.0
>
>
> 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
(v8.3.4#803005)

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