You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(physical-expr): adopt new proto helpers in already-migrated expressions
Ports the existing `try_to_proto` / `try_from_proto` implementations
onto the three helpers introduced in the previous commit
(`expect_expr_variant!`, `expr_node`, and the wider use of
`decode_required_expression` / `decode_children_expressions` /
`encode_children_expressions` from apache#22513).
Covers every expression already migrated under apache#22418:
- `Column`, `BinaryExpr` (originally apache#21929)
- `LikeExpr` (apache#22471)
- `InListExpr` (apache#22503)
- `NegativeExpr` (apache#22483)
- `HashTableLookupExpr` (apache#22451) — uses `expr_node` for its
`lit(true)` replacement node
`BinaryExpr` additionally switches its `l`/`r` legacy-decode arms to
`decode_required_expression`, removing two more hand-rolled
"missing required field" strings.
One existing test changes assertion text — `InListExpr`'s rejected-
variant message was the only one using the article "an" instead of
the macro's article-free "a"; updated to match. No wire-format change;
`cargo test -p datafusion-proto --test proto_integration` is green
(173 / 173).
0 commit comments