Skip to main content

iceberg_compaction_max_plan_parallelism

Function iceberg_compaction_max_plan_parallelism 

Source
fn iceberg_compaction_max_plan_parallelism(
    worker_num: usize,
    task_parallelism_ratio: f32,
    max_task_parallelism: u32,
) -> u32
Expand description

The task queue rejects any plan whose parallelism exceeds max_task_parallelism, so planning above it would make every plan with more input files than that impossible to run.