SIGN IN SIGN UP

feat(rust): support DataFusion Expr for table row deletions (#3415)

Modified the parameter of delete to a Predicate that could be
constructed from either datafusion Expr, from str (to support SQL
predicate), or from String to support python and javascript bindings.
When a datafusion Expr is used, it avoids the overhead of serializing to
SQL and re-parsing when callers already have an Expr (e.g. from query
planning).

The native implementation uses lance's `DeleteBuilder::from_expr`. The
remote implementation converts the Expr to SQL via `expr_to_sql_string`
before sending to the server, consistent with the existing query and
count_rows paths.

Closes #3204

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
Co-authored-by: Claude Code <noreply@anthropic.com>
Y
Yuval Lifshitz committed
df2b6d3dd408819475db004bcdfdd68794493d9f
Parent: ccec91d
Committed by GitHub <noreply@github.com> on 5/26/2026, 6:49:54 PM