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

Chao Sun reassigned SPARK-42480:
--------------------------------

    Assignee: Wechar

> 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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to