Skip to content

Commit

Permalink
docs: fix documentation about max_spill_size
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun authored and hntd187 committed Aug 28, 2024
1 parent ba4ab74 commit 62d4887
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/operations/optimize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ pub struct OptimizeBuilder<'a> {
commit_properties: CommitProperties,
/// Whether to preserve insertion order within files (default false)
preserve_insertion_order: bool,
/// Max number of concurrent tasks (default is number of cpus)
/// Maximum number of concurrent tasks (default is number of cpus)
max_concurrent_tasks: usize,
/// Maximum number of bytes that are allowed to spill to disk
/// Maximum number of bytes allowed in memory before spilling to disk
max_spill_size: usize,
/// Optimize type
optimize_type: OptimizeType,
Expand Down
2 changes: 1 addition & 1 deletion python/deltalake/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ def z_order(
max_concurrent_tasks: the maximum number of concurrent tasks to use for
file compaction. Defaults to number of CPUs. More concurrent tasks can make compaction
faster, but will also use more memory.
max_spill_size: the maximum number of bytes to spill to disk. Defaults to 20GB.
max_spill_size: the maximum number of bytes allowed in memory before spilling to disk. Defaults to 20GB.
min_commit_interval: minimum interval in seconds or as timedeltas before a new commit is
created. Interval is useful for long running executions. Set to 0 or timedelta(0), if you
want a commit per partition.
Expand Down

0 comments on commit 62d4887

Please sign in to comment.