feat: expose task writer & support equality delta writer #97
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and refactorings to the Iceberg writer modules, focusing on making the codebase more modular and robust. The most significant changes include safer handling of optional writer internals, the addition of new functional and task-based writer modules, and updates to dependencies to support new features.
Writer robustness and refactoring
current_row_numandcurrent_written_sizemethods indata_file_writer.rs,position_delete_file_writer.rs, androlling_writer.rsto use safer handling of optional internals (Option) by replacingunwrap()withmap_or, preventing potential panics when the inner writer is absent. [1] [2] [3]Modularization and new writer modules
function_writer(withequality_delta_writer) andtask_writertocrates/iceberg/src/writer/mod.rs, making the writer architecture more extensible and organized. [1] [2] [3]parquet_writermodule topubinfile_writer/mod.rs, allowing external usage and extension.Dependency updates
arrow-row = "56.2"to both the workspace and crate-specificCargo.tomlfiles to support new features in Arrow-based row handling. [1] [2]Cleanup
task_writermodule fromcrates/integrations/datafusion/src/lib.rsfollowing its migration to the core writer module.## Which issue does this PR close?