Skip to content

Update from code changes: Rust add_columns builder - #328

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/33f60f7a
Open

Update from code changes: Rust add_columns builder#328
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/33f60f7a

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

The Rust SDK's Table::add_columns is now a builder that takes no positional arguments; callers chain .transform(...) and finish with .execute(). The previous read_columns positional argument is now an optional builder method that only applies to BatchUDF transforms. This PR updates the six Rust code snippets in the docs so they compile against the new API. Details: lancedb/lancedb#3778

Changes

  • Updated RsBasicAddColumns in snippets/basic_usage.mdx to use .add_columns().transform(...).execute().
  • Updated RsQuickstartAddFeature in snippets/quickstart.mdx to the builder form.
  • Updated RsAddColumnsCalculated, RsAddColumnsDefaultValues, RsAddColumnsNullable, RsAddFeatureColumnsSql, RsAlterColumnsWithExpression, and RsAlterVectorColumn in snippets/tables.mdx to the builder form.

Context

The Python and TypeScript add_columns APIs are unchanged, and no docs prose described the old Rust argument list, so only the Rust snippets needed to change.

@mintlify

mintlify Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lancedb-bcbb4faf 🟢 Ready View Preview Aug 4, 2026, 6:24 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants