Skip to content

Core: Allow adding files to multiple partition specs in FastAppend - #11771

Merged
aokolnychyi merged 2 commits into
apache:mainfrom
anuragmantri:fast-appen-multi-part
Jan 10, 2025
Merged

aokolnychyi merged 2 commits into
apache:mainfrom
anuragmantri:fast-appen-multi-part

Conversation

@anuragmantri

Copy link
Copy Markdown
Collaborator

This PR adds ability to add files to multiple partition specs in FastAppend. Inspired by MergeAppend code.

@github-actions github-actions Bot added the core label Dec 13, 2024
@anuragmantri

Copy link
Copy Markdown
Collaborator Author

@aokolnychyi @stevenzwu - Could you please take a look?

@anuragmantri
anuragmantri marked this pull request as draft December 13, 2024 00:44
@anuragmantri
anuragmantri marked this pull request as ready for review December 16, 2024 23:34
replaceSortOrder.commit();

// Get new spec after commit to write new file with new spec
PartitionSpec newSpec = create.table().spec();

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This test was not using the latest spec. I would fail with newAppend() too.

@aokolnychyi
aokolnychyi merged commit 97b5b39 into apache:main Jan 10, 2025
@aokolnychyi

Copy link
Copy Markdown
Contributor

Thanks, @anuragmantri!

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