Sub-issue of #22418. Port DynamicFilterPhysicalExpr to use the try_to_proto / try_from_proto hooks added in #21929.
Replace the DynamicFilterPhysicalExpr arm in datafusion/proto/src/physical_plan/{to_proto,from_proto}.rs with try_to_proto / try_from_proto impls next to DynamicFilterPhysicalExpr. See the Column / BinaryExpr migrations in #21929 for reference.
Also revert the pub-for-proto scaffolding from #21807 (Inner, from_parts, inner(), original_children, remapped_children) once decode reads the state directly.
Sub-issue of #22418. Port
DynamicFilterPhysicalExprto use thetry_to_proto/try_from_protohooks added in #21929.Replace the
DynamicFilterPhysicalExprarm indatafusion/proto/src/physical_plan/{to_proto,from_proto}.rswithtry_to_proto/try_from_protoimpls next toDynamicFilterPhysicalExpr. See theColumn/BinaryExprmigrations in #21929 for reference.Also revert the
pub-for-proto scaffolding from #21807 (Inner,from_parts,inner(),original_children,remapped_children) once decode reads the state directly.