Skip to content

Feat(spark): support ALTER ADD PARTITION#5208

Merged
georgesittas merged 2 commits intomainfrom
jo/add_partition_spark
Jun 11, 2025
Merged

Feat(spark): support ALTER ADD PARTITION#5208
georgesittas merged 2 commits intomainfrom
jo/add_partition_spark

Conversation

@georgesittas
Copy link
Collaborator

Comment on lines +7378 to +7379
is_partition = self._match(TokenType.PARTITION, advance=False)
field = self._parse_add_column()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the docs also allow [IF NOT EXISTS] between ADD and PARTITION afaict, but feel free to ignore

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed here, please take another look.

@georgesittas georgesittas requested a review from VaggelisD June 11, 2025 11:46
@georgesittas georgesittas merged commit c20f85e into main Jun 11, 2025
7 checks passed
@georgesittas georgesittas deleted the jo/add_partition_spark branch June 11, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alter table does not handle ADD PARTITION

3 participants