spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angerszhu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-27602) SparkSQL CBO can't get true size of partition table after partition pruning
Date Tue, 30 Jul 2019 03:38:00 GMT

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

angerszhu commented on SPARK-27602:
-----------------------------------

Seems in hive 1.2.1, we can't get true partition level stats too.

> SparkSQL CBO can't get true size of partition table after partition pruning
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-27602
>                 URL: https://issues.apache.org/jira/browse/SPARK-27602
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: angerszhu
>            Priority: Major
>         Attachments: image-2019-05-05-11-46-41-240.png
>
>
> When I want to do extract a cost of one sql for myself's cost framework,  I found that
CBO  can't get true size of partition table  since when partition pruning is true. we just
need corresponding partition's size. It just use the tables's statistic.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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


Mime
View raw message