Skip to content

Conversation

Zouxxyy
Copy link
Contributor

@Zouxxyy Zouxxyy commented Oct 16, 2025

What changes were proposed in this pull request?

Support drop multi-level partition V2 table with partial partition spec, e.g.

CREATE TABLE t (id string) USING DSV2 PARTITIONED BY (p1 int, p2 int, p3 int)
ALTER TABLE t DROP PARTITION (p1=1)

Why are the changes needed?

This feature is useful when the user has a lot of secondary partitions and wants to delete all of them by specifying a primary partition.
v1 table support this now, v2 can support too.

Does this PR introduce any user-facing change?

Support drop multi-level partition V2 table with partial partition spec

How was this patch tested?

add test case

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the SQL label Oct 16, 2025
@Zouxxyy
Copy link
Contributor Author

Zouxxyy commented Oct 16, 2025

@cloud-fan @MaxGekk @dongjoon-hyun Can you help with a reviewer, thanks

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Oct 16, 2025

cc @viirya , @huaxingao , @aokolnychyi , @szehon-ho , too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants