Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct Python docs for incremental compaction on OPTIMIZE #3301

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/usage/optimize/small-file-compaction-with-optimize.md
Original file line number Diff line number Diff line change
@@ -331,10 +331,10 @@ We can use `get_add_actions()` to introspect the table state. We can see that `2
+----------------+----------+
```

To optimize a single partition, you can pass in a `partition_filters` argument speficying which partitions to optimize.
To optimize a single partition, you can pass in a `partition_filters` argument specifying which partitions to optimize.
=== "Python"
```python
dt.optimize(partition_filters=[("date", "=", "2021-01-05")])
dt.optimize.compact(partition_filters=[("date", "=", "2021-01-05")])
```

=== "Rust"