[jira] [Updated] (SPARK-42480) Improve the performance of drop partitions

2023-03-08 Thread Chao Sun (Jira)


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



[jira] [Updated] (SPARK-42480) Improve the performance of drop partitions

2023-03-08 Thread Chao Sun (Jira)


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