Skip to content

Spark: propagate snapshot properties for RewriteDataFiles and RewritePositionDeleteFiles#9449

Merged
aokolnychyi merged 3 commits into
apache:mainfrom
advancedxy:rewrite-propagate-snopshot-property
Jan 18, 2024
Merged

Spark: propagate snapshot properties for RewriteDataFiles and RewritePositionDeleteFiles#9449
aokolnychyi merged 3 commits into
apache:mainfrom
advancedxy:rewrite-propagate-snopshot-property

Conversation

@advancedxy
Copy link
Copy Markdown
Contributor

When working with RewriteDataFiles, I noticed that the snapshot properties cannot be set via snapshotProperty(String, String). This PR will fix that issue by propagating snapshot properties into RewriteDataFilesCommitManager or RewritePositionDeletesCommitManager and all the way down to RewriteFiles.

@advancedxy
Copy link
Copy Markdown
Contributor Author

cc @RussellSpitzer @szehon-ho or @aokolnychyi, would you mind to take a look at this since you guys touched most parts of the rewrite data files actions.

@advancedxy advancedxy closed this Jan 9, 2024
@advancedxy advancedxy reopened this Jan 9, 2024
@advancedxy advancedxy closed this Jan 9, 2024
@advancedxy advancedxy reopened this Jan 9, 2024
@ajantha-bhat
Copy link
Copy Markdown
Member

@advancedxy: GH actions are down. Hence PR builders are failing. We need to wait till the status is green in https://www.githubstatus.com/

@advancedxy
Copy link
Copy Markdown
Contributor Author

@advancedxy: GH actions are down. Hence PR builders are failing. We need to wait till the status is green in https://www.githubstatus.com/

Thanks for the heads up. I was wondering it’s an occasional incident and tried rerunning the CI. Let’s wait GH actions back to normal.

@advancedxy advancedxy closed this Jan 9, 2024
@advancedxy advancedxy reopened this Jan 9, 2024
Comment thread core/src/main/java/org/apache/iceberg/actions/RewriteDataFilesCommitManager.java Outdated
@advancedxy
Copy link
Copy Markdown
Contributor Author

Comment thread core/src/main/java/org/apache/iceberg/actions/RewriteDataFilesCommitManager.java Outdated
@aokolnychyi
Copy link
Copy Markdown
Contributor

I will take a look this week.

@aokolnychyi aokolnychyi merged commit 008d173 into apache:main Jan 18, 2024
@aokolnychyi
Copy link
Copy Markdown
Contributor

Thanks, @advancedxy! Thanks for reviewing, @manuzhang @ajantha-bhat!

geruh pushed a commit to geruh/iceberg that referenced this pull request Jan 26, 2024
adnanhemani pushed a commit to adnanhemani/iceberg that referenced this pull request Jan 30, 2024
devangjhabakh pushed a commit to cdouglas/iceberg that referenced this pull request Apr 22, 2024
nastra added a commit to nastra/iceberg that referenced this pull request Mar 24, 2025
nastra added a commit to nastra/iceberg that referenced this pull request Mar 24, 2025
nastra added a commit to nastra/iceberg that referenced this pull request Mar 24, 2025
amogh-jahagirdar pushed a commit that referenced this pull request Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants