mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 20:44:00 +00:00
fix(sdk): align Optimize behavior and inherit Embedded policy
This commit is contained in:
+6
-1
@@ -1057,7 +1057,12 @@ impl Table {
|
||||
.transpose()?
|
||||
.unwrap_or_default();
|
||||
let stats = if rewrite_only {
|
||||
inner.optimize(overrides).await
|
||||
inner
|
||||
.optimize(lancedb::table::OptimizeAction::RewriteData {
|
||||
options: overrides.into(),
|
||||
remap_options: None,
|
||||
})
|
||||
.await
|
||||
} else {
|
||||
inner
|
||||
.optimize_full_with_overrides(overrides, None, before_timestamp, delete_unverified)
|
||||
|
||||
Reference in New Issue
Block a user