You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peter Toth (Jira)" <ji...@apache.org> on 2020/07/16 13:19:00 UTC
[jira] [Created] (SPARK-32331) Keep advanced statistics when
pruning partitions
Peter Toth created SPARK-32331:
----------------------------------
Summary: Keep advanced statistics when pruning partitions
Key: SPARK-32331
URL: https://issues.apache.org/jira/browse/SPARK-32331
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.1.0
Reporter: Peter Toth
The rule {{PruneFileSourcePartitions}} deletes the advances statistics (cardinality, column stats) of the underlying {{LogicalRelation}} and keeps only {{sizeInBytes}} as that is the only value we can be sure that is accurate.
I think we should keep all statistics as they are a good upper limit estimates and by keeping them other rules that depend on the presence of these statistics (like {{CostBasedJoinReorder}}) can still ran.
--
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