Skip to content

feat(core): add replace partition#512

Closed
Elbehery wants to merge 1 commit intoapache:mainfrom
Elbehery:20250726_add_replace_partition
Closed

feat(core): add replace partition#512
Elbehery wants to merge 1 commit intoapache:mainfrom
Elbehery:20250726_add_replace_partition

Conversation

@Elbehery
Copy link

This PR adds a go implementation replace partition feature.

cc @laskoviymishka @zeroshade

Signed-off-by: Mustafa Elbehery <melbeher@redhat.com>
Copy link
Contributor

@laskoviymishka laskoviymishka left a comment

Choose a reason for hiding this comment

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

Is this generated by LLM?
If so - be vocal about it, see guidelines

// action adds two data files with partition data (2021, 1) and (2021, 2), then all existing
// data files that contain records where year=2021 and month=1 OR year=2021 and month=2
// will be replaced.
type ReplacePartitions interface {
Copy link
Contributor

Choose a reason for hiding this comment

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

this and all other PR-s looks like a 1-1 adaptation for java iceberg interfaces

this approach is not really work with golang, it's not ideomatic.

Better to stick with what we have with for example snapshot

No need to define interface just for the sake of interface.

@zeroshade
Copy link
Member

ASF guidelines prohibit entirely AI generated PRs. You can use an LLM to assist you, but cannot submit a PR that is entirely AI generated. As such I'm going to close this.

@zeroshade zeroshade closed this Jul 27, 2025
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.

3 participants