Is your feature request related to a problem?
The Lance library natively supports dataset.update() and dataset.delete(), but daft-lance currently does not expose wrappers for these operations. Users who store data in Lance format through Daft have no way to update or delete rows without dropping down to the raw Lance API.
Describe the solution you'd like
Add two @PublicAPI functions following the existing daft-lance pattern:
update_lance(uri, updates, *, where=None, io_config=None) — thin wrapper around lance.dataset().update(), returns {"num_rows_updated": N}
delete_from_lance(uri, where, *, io_config=None) — thin wrapper around lance.dataset().delete()
Additional Context
Would you like to implement a fix?
Yes, already have an implementation ready.
Is your feature request related to a problem?
The Lance library natively supports
dataset.update()anddataset.delete(), but daft-lance currently does not expose wrappers for these operations. Users who store data in Lance format through Daft have no way to update or delete rows without dropping down to the raw Lance API.Describe the solution you'd like
Add two
@PublicAPIfunctions following the existing daft-lance pattern:update_lance(uri, updates, *, where=None, io_config=None)— thin wrapper aroundlance.dataset().update(), returns{"num_rows_updated": N}delete_from_lance(uri, where, *, io_config=None)— thin wrapper aroundlance.dataset().delete()Additional Context
Would you like to implement a fix?
Yes, already have an implementation ready.