mirror of
https://github.com/lancedb/lancedb.git
synced 2026-08-18 12:08:35 +00:00
5a1c839382
add_columns gains a computed= mapping of column name to SQL expression, and
refresh_column fills a computed column's unfilled rows. Both are available on
the sync and async tables:
table.add_columns(computed={"doubled": "x * 2"})
table.refresh_column("doubled")
transforms and computed are mutually exclusive, since they commit through
different paths and could half-apply.