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

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

Want to do this need to change the calculate model. I am tring to build a 
framework to estimate cost of a sql, need to solve this. If it ‘s ok for the 
origin model . I will try to change it.
On 05/01/2019 00:43, [1]Hyukjin Kwon (JIRA) wrote:
   [ 
https://issues.apache.org/jira/browse/SPARK-27602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16830455#comment-16830455
 ]

Hyukjin Kwon commented on SPARK-27602:
--------------------------------------

So, what's proposal to fix it?




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

----------------------------------------------------------------------------------------
[1] mailto:j...@apache.org


> 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: 2.2.0, 2.3.0, 2.4.0
>            Reporter: angerszhu
>            Priority: Major
>
> 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.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