You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chao Sun (Jira)" <ji...@apache.org> on 2023/03/09 00:40:00 UTC
[jira] [Updated] (SPARK-42480) Improve the performance of drop partitions
[ https://issues.apache.org/jira/browse/SPARK-42480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Sun updated SPARK-42480:
-----------------------------
Fix Version/s: (was: 3.5.0)
> Improve the performance of drop partitions
> ------------------------------------------
>
> Key: SPARK-42480
> URL: https://issues.apache.org/jira/browse/SPARK-42480
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.3.2
> Reporter: Wechar
> Assignee: Wechar
> Priority: Major
> Fix For: 3.4.0
>
>
> Currently to drop the matching partitions, Spark will first get all matching Partition objects from Hive metastore, and just use the partition values of these Partition objects.
> We can get the matching partition names instead of the partition objects for the following reasons:
> 1. we can also get partition values through a partition name (like a=1/b=2)
> 2. the byte size of partition name is much smaller than partition object, which will help improve the performance of drop partitions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org