YannByron opened a new pull request, #9878:
URL: https://github.com/apache/paimon/pull/9878

   ### Purpose
   
   PyPaimon skips an append commit with no committables even when 
`snapshot.ignore-empty-commit=false`. A newly created empty table therefore has 
no snapshot and cannot be tagged, preventing applications from pinning an empty 
component alongside populated tables.
   
   Honor the existing option for Python append commits. The default still skips 
empty appends; explicitly setting it to `false` creates a normal snapshot that 
can be tagged and read. No-op overwrite/drop behavior is unchanged.
   
   ### Tests
   
   - Added a real-table regression covering default skipping, an explicit empty 
snapshot and tag, schema/properties readback, later appends, and an empty 
commit that preserves existing rows and the old empty tag.
   - 62 tests passed across `table_commit_test.py`, 
`file_store_commit_test.py`, `write/commit_callback_test.py`, 
`overwrite_commit_conflict_test.py`, and `overwrite_changes_cache_test.py` 
(Python 3.13, PyArrow 19.0.1).
   - Flake8 with the repository configuration and `git diff --check` passed.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to