deltalake_core::operations::optimize

Function create_merge_plan

Source
pub fn create_merge_plan(
    optimize_type: OptimizeType,
    snapshot: &DeltaTableState,
    filters: &[PartitionFilter],
    target_size: Option<i64>,
    writer_properties: WriterProperties,
) -> Result<MergePlan, DeltaTableError>
Expand description

Build a Plan on which files to merge together. See OptimizeBuilder