mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 12:33:59 +00:00
## Summary `RemoteTable::add` only transmits the write mode to the remote insert endpoint, so non-default layout options in `lance_write_params` were silently ignored. This rejects them before schema lookup and before either single-request or multipart transmission. Guarded fields: - `max_rows_per_file` - `max_rows_per_group` - `max_bytes_per_file` Default `WriteParams` and `mode = Overwrite` keep their existing behavior. Other write parameters remain untouched. ## Tests - Focused remote-table regressions cover each guarded field on both single-request and multipart paths, and verify default, `Create`, `Append`, and `Overwrite` behavior. - `cargo fmt --all -- --check` - `cargo clippy --quiet --features remote -p lancedb --tests` - Targeted `cargo test --features remote -p lancedb --lib remote::table::tests::...` Refs OSS-2882. This is the P0 hotfix; the table-level persistent layout design remains tracked separately in OSS-2882 and is not closed by this PR.