-
Notifications
You must be signed in to change notification settings - Fork 136
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
[Bug]: Newly created pyiceberg table does not detect commit conflicts #10062
Comments
…ent properly The current implementation of the `assert-ref-snapshot-id` update requirement neglects the `null` requirement case, which means "there must be no current snapshot". The fix is simple. Also added a check that the ref-name in that requirement-check is `main`. Also updated a few cases to eliminate IDE warnings in the same class. Fixes projectnessie#10062
…ent properly The current implementation of the `assert-ref-snapshot-id` update requirement neglects the `null` requirement case, which means "there must be no current snapshot". The fix is simple. Also added a check that the ref-name in that requirement-check is `main`. Also updated a few cases to eliminate IDE warnings in the same class. Fixes projectnessie#10062
…ent properly (#10064) The current implementation of the `assert-ref-snapshot-id` update requirement neglects the `null` requirement case, which means "there must be no current snapshot". The fix is simple. Also added a check that the ref-name in that requirement-check is `main`. Also updated a few cases to eliminate IDE warnings in the same class. Fixes #10062
Thanks for the bug report and analysis! We'll publish a Nessie patch release with a fix shortly. |
Thank you for the swift response! We'll test it once we've integrated. |
We ran the reproduction test on the latest code and we can confirm that this solves the issue. Thank you. |
Thanks for checking! Glad that it works for you now! |
What happened
Using pyiceberg and Nessie 0.99, I create a table.
Then I start multiple processes that write to that table in parallel. When these processes write at the same time, conflicts may occur, which is expected. However, for the first write, this conflict detection is not operational.
I asked about this with the pyiceberg people and they pointed me to the Nessie REST catalog implementation (see apache/iceberg-python#1366). Apparently there is an interface misinterpretation:
How to reproduce it
Nessie server type (docker/uber-jar/built from source) and version
build from source, 0.99.1
Client type (Ex: UI/Spark/pynessie ...) and version
pyiceberg
Additional information
No response
The text was updated successfully, but these errors were encountered: