fallintoplace opened a new pull request, #1975:
URL: https://github.com/apache/iceberg-go/pull/1975

   ## Summary
   
   - **Keep only the stats needed by each delete index.**
   - Positional deletes retain `file_path` metrics for partition-scoped pruning.
   - Equality deletes retain metrics for `EqualityFieldIDs()`.
   - Deletion vectors retain no stats, but keep the metadata needed to read the 
Puffin range.
   - Store only the compact delete file and sequence number in the indexes.
   - Release the original delete manifest entries before data task planning 
continues.
   - Keep the existing fallback for external or malformed `DataFile` 
implementations.
   
   ## Benchmark
   
   Command:
   `go test ./table -run ^ -bench ^BenchmarkDeleteIndexRetainsOnlyRequiredStats 
-benchmem -benchtime=1s`
   
   Apple M1 Pro, 100 delete files, 512 stat fields:
   
   | index | source stats/file | retained stats/file |
   | --- | ---: | ---: |
   | positional | 2,565 | 5 |
   | equality | 2,560 | 10 |
   
   The benchmark also reports index build time, allocations, and bytes/op.
   
   ## Tests
   
   - `go test ./...`
   - `go test -race ./table -run TestCompactDeleteFileForIndex -count=1`
   - `go vet ./table`
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to