Skip to content

Conversation

@amitgilad3
Copy link

This pr contains the fixes requested in the previous pr that was not worked on any more and closed - #8797

Comment on lines +56 to +61
this(
table,
startingSnapshotId,
useStartingSequenceNumber,
ImmutableMap.of(),
SnapshotRef.MAIN_BRANCH);
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: these constructors read slightly off to me - the default branch being main is encoded in two constructors, and the one below doesn't chain.

My opinion: maybe keep this constructor as it was before, and replace the body of the one below with

this(table, startingSnapshotId, useStartingSequenceNumber, snapshotProperties, SnapshotRef.MAIN_BRANCH);

to keep the constructor-chaining flow with each setting one default?

Copy link
Author

Choose a reason for hiding this comment

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

thanks @smaheshwar-pltr - will look during the weekend

@pvary
Copy link
Contributor

pvary commented Apr 7, 2025

We are moving the file rewrite planning from Spark code to the core module. Please check #12306.
The Spark code refactor, to use the new interface is not finished yet. See: #12692.

@amitgilad3
Copy link
Author

amitgilad3 commented Apr 17, 2025

@pvary - so is this pr redundant ? and if so maybe we should close this

@nabaskes
Copy link

@amitgilad3 I'm reading @pvary's comment as saying that this change will be refactored down the line as part of a general refactor of the codebase. I don't see that as superceding this work, just as a heads-up that it will get changed. @pvary let me know if that's not accurate.

@pvary
Copy link
Contributor

pvary commented Apr 29, 2025

@amitgilad3: Sorry for the late response. I was OOO. I wanted to highlight that any changes done here will need to be updated when the refactoring is done

@lliangyu-lin
Copy link
Contributor

lliangyu-lin commented Apr 29, 2025

Hi, we have some users waiting for this change, wondering if there's any work remaining on this PR? @amitgilad3 I'm happy to help on revisions if you don't have time to work on this.
@pvary Is it possible to get this PR in before the refactoring is complete?

@amitgilad3
Copy link
Author

@lliangyu-lin - I have 1 fix todo, will work on it today and if all is good we can merge 👍

@pvary
Copy link
Contributor

pvary commented Apr 30, 2025

Hi, we have some users waiting for this change, wondering if there's any work remaining on this PR? @amitgilad3 I'm happy to help on revisions if you don't have time to work on this. @pvary Is it possible to get this PR in before the refactoring is complete?

The refactoring PR will be merged later today.
I'm happy to help you through the review after moving the feature to the core (SizeBasedFileRewritePlanner).

@amitgilad3
Copy link
Author

Thanks @pvary - i saw you merged the code , will take a look now that its merged

@lliangyu-lin
Copy link
Contributor

lliangyu-lin commented May 23, 2025

Hello @amitgilad3, wondering if you are still actively working on this PR? If not, could I help on rebasing the refactored change based on your current changes to get this in?

@amitgilad3
Copy link
Author

Hey @lliangyu-lin , i already started the work. Hope to finish it soon

@github-actions
Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added stale and removed stale labels Jun 24, 2025
@github-actions
Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 28, 2025
@github-actions
Copy link

github-actions bot commented Aug 4, 2025

This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Aug 4, 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.

6 participants