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

Add information from written files to Iceberg conflict detection #24470

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pajaks
Copy link
Member

@pajaks pajaks commented Dec 13, 2024

Description

Currently, Iceberg's concurrent write conflict detection is based on predicates received from the engine. In more complicated cases (like joins, merges, or different type comparisons), this information is not available at the connector level.

This PR aims to take partition information from the actual written files as a source for the conflict detection system. If, during a write, created files are only for some partitions, we can check only those partitions for potential conflicts from concurrent writes.

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Dec 13, 2024
@github-actions github-actions bot added the iceberg Iceberg connector label Dec 13, 2024
@ebyhr ebyhr self-requested a review December 16, 2024 09:56
@pajaks pajaks force-pushed the pajaks/iceberg_concurent_merge branch from 078a427 to 9d8bfd3 Compare December 16, 2024 12:05
@pajaks pajaks requested a review from findinpath December 16, 2024 12:38
@pajaks pajaks force-pushed the pajaks/iceberg_concurent_merge branch 3 times, most recently from e743faa to 0bc5d55 Compare December 17, 2024 14:24
@pajaks pajaks force-pushed the pajaks/iceberg_concurent_merge branch from 0bc5d55 to 44dd035 Compare December 19, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

2 participants