Skip to content

Backport rewrite delete file fix (#10020) to iceberg 1.5 - #277

Merged
jiang95-dev merged 2 commits into
linkedin:openhouse-1.5.2from
jiang95-dev:lejiang/backport-mor
Sep 23, 2026
Merged

jiang95-dev merged 2 commits into
linkedin:openhouse-1.5.2from
jiang95-dev:lejiang/backport-mor

Conversation

@jiang95-dev

@jiang95-dev jiang95-dev commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Backport the fix from iceberg #10020. This is needed because we ran into the same issue in production.

Testing Done

gradle build.

Comment thread .palantir/revapi.yml
@mkuchenbecker

Copy link
Copy Markdown

what version are we backporting from?

@mkuchenbecker

Copy link
Copy Markdown

Its unclear from your commits what is backported vs fix forward. I might backport and commit merge conflicts, then update forward with new commits.

@jiang95-dev

Copy link
Copy Markdown
Collaborator Author

what version are we backporting from?

1.6.0

@jiang95-dev

Copy link
Copy Markdown
Collaborator Author

Its unclear from your commits what is backported vs fix forward. I might backport and commit merge conflicts, then update forward with new commits.

Currently there are 2 commits. First for backport. Second for fix forward.

} else {
newFields.add(Types.NestedField.required(newIds.get(i), field.name(), type, field.doc()));
}
newFields.add(Types.NestedField.from(field).withId(newIds.get(i)).ofType(type).build());

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is there no more differentiation or is it implicit with the from?

@jiang95-dev jiang95-dev Sep 22, 2026 •

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.

from() will copy everything from the old field. This is a new method added by @cbb330 to support default values.

@mkuchenbecker

mkuchenbecker commented Sep 21, 2026 •

Copy link
Copy Markdown
  1. One comment on a potential behaviour change.
  2. Can you verify that "Backport rewrite delete file fix (#10020) to iceberg 1." was a clean cherry pick? What were the commands run and were there conflict before the commit was made.
    Ideally you cherry pick -x to preserve the original commit, and commit as-is with any merge conflicts. Then you update code. That there are updates but no conflicts makes me think the backport wasn't clean.

A +1 response to this comment to indicate it actually was clean I'll take vs redoing.

szehon-ho and others added 2 commits September 22, 2026 11:35
…th more than 1k columns (#10020)

(cherry picked from commit b6c949c)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Adapt field ID reassignment to preserve initial and write defaults, add regression coverage, and accept the expected metadata schema serialization changes.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jiang95-dev

Copy link
Copy Markdown
Collaborator Author
  1. One comment on a potential behaviour change.
  2. Can you verify that "Backport rewrite delete file fix (#10020) to iceberg 1." was a clean cherry pick? What were the commands run and were there conflict before the commit was made.
    Ideally you cherry pick -x to preserve the original commit, and commit as-is with any merge conflicts. Then you update code. That there are updates but no conflicts makes me think the backport wasn't clean.

A +1 response to this comment to indicate it actually was clean I'll take vs redoing.

I just used git cherry pick -x to preserve the original commit. Also commented on the from() behavior.

@jiang95-dev
jiang95-dev merged commit 6c9a0ec into linkedin:openhouse-1.5.2 Sep 23, 2026
24 checks passed
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.

3 participants