The GitHub Actions job "CI" on iceberg-rust.git/upstream/delta-writer has 
failed.
Run started by GitHub user DAlperin (triggered by DAlperin).

Head commit for run:
f23a8aa484e3716048ebb1e9bb8355638fccc29e / Dov Alperin 
<[email protected]>
feat: add delta writer for row-level changes

This commit adds support for row-level changes (inserts, updates, and deletes) 
to Iceberg tables through a new DeltaWriter implementation. This enables CDC 
(Change Data Capture), upsert operations, and efficient row-level deletions.

Key Components:

1. RowDeltaAction Transaction
   - New transaction type for applying row-level changes atomically
   - Supports both data files and delete files in a single transaction
   - Located in transaction/row_delta.rs

2. Position Delete Writer
   - Writes position delete files for efficient row-level deletions
   - Deletes rows by file path and row position
   - Located in writer/base_writer/position_delete_writer.rs

3. Delta Writer (Combined Writer)
   - Orchestrates data file, position delete, and equality delete writers
   - Intelligently routes operations based on row tracking
   - Memory-bounded row tracking with configurable limits
   - Falls back to equality deletes for older/evicted rows
   - Located in writer/combined_writer/delta_writer.rs

Input Format:
The DeltaWriter expects RecordBatch with an operations column:
- Value 1 = Insert/Update (write to data file)
- Value -1 = Delete (write to delete file)

Memory Management:
- Tracks recently written rows for efficient position deletes
- Configurable max_seen_rows limit (default: 100,000)
- FIFO eviction when limit is reached
- Can be disabled (set to 0) to use only equality deletes

Report URL: https://github.com/apache/iceberg-rust/actions/runs/22779468031

With regards,
GitHub Actions via GitBox

Reply via email to