Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix iceberg v2 table with equality delete can't update #16216

Closed
wants to merge 1 commit into from

Conversation

Heltman
Copy link
Contributor

@Heltman Heltman commented Feb 22, 2023

Description

When iceberg v2 table has equality delete file, update will failed.
Fixes #15952

Release notes

# Iceberg
* Fix failure when updating tables with equality delete. ({issue}`15952`)

Copy link
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

Could you rebase on master to resolve conflicts?

Copy link

This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua

@github-actions github-actions bot added the stale label Jan 17, 2024
Copy link

github-actions bot commented Feb 8, 2024

Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.

@github-actions github-actions bot closed this Feb 8, 2024
@mosabua
Copy link
Member

mosabua commented Feb 8, 2024

Feel free to reopen or take over in new PR as desired @ebyhr @Heltman

also cc @findepi @electrum @brandylove

@okayhooni
Copy link
Contributor

Is there any plan to release this fix on Trino..?

@ebyhr ebyhr reopened this Mar 28, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Mar 28, 2024
@ebyhr
Copy link
Member

ebyhr commented Mar 28, 2024

@Heltman Could you rebase on master to resolve conflicts?

This comment was marked as resolved.

@github-actions github-actions bot added the stale label Apr 22, 2024

This comment was marked as resolved.

@github-actions github-actions bot closed this May 13, 2024
@ebyhr ebyhr reopened this Nov 5, 2024
@ebyhr ebyhr added the stale-ignore Use this label on PRs that should be ignored by the stale bot so they are not flagged or closed. label Nov 5, 2024
@ebyhr ebyhr force-pushed the iceberg_update_fix branch 2 times, most recently from 59c29a6 to ba17679 Compare November 5, 2024 23:12
// If column is rowIdColumn, we should not create a field with its actual type, because column id will conflict
// with a real column. We just use boolean type make a fake.
if (column.isUpdateRowIdColumn() || column.isMergeRowIdColumn()) {
field = NestedField.optional(column.getId(), column.getName(), toIcebergType(BOOLEAN, column.getColumnIdentity()));
Copy link
Member

@ebyhr ebyhr Nov 6, 2024

Choose a reason for hiding this comment

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

@Heltman Excluding this column instead of a fake column doesn't work?

@ebyhr ebyhr requested a review from findinpath November 6, 2024 08:51
@ebyhr
Copy link
Member

ebyhr commented Nov 7, 2024

Superseded by #24062

@ebyhr ebyhr closed this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector stale stale-ignore Use this label on PRs that should be ignored by the stale bot so they are not flagged or closed.
Development

Successfully merging this pull request may close these issues.

UPDATE failed in Iceberg: Multiple entries with same key: 3=$row_id.file_record_count
4 participants