Commit 97ee57b
chore: exposing max_source_fragments on OPTIMIZE command (#348)
This PR adds support for `max_source_fragments` in the OPTIMIZE command.
This parameter was added to restrict the number of fragments included in
a compaction. It's main use is for incrementally compacting extremely
fragmented datasets.
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f57b512 commit 97ee57b
3 files changed
Lines changed: 5 additions & 1 deletion
File tree
- docs/src/operations/ddl
- lance-spark-base_2.12/src
- main/scala/org/apache/spark/sql/execution/datasources/v2
- test/java/org/lance/spark/update
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
0 commit comments