Part of #23494.
windows/window_agg_exec.rs, windows/bounded_window_agg_exec.rs. Both share the Window proto variant (distinguished by input_order_mode) — one try_from_proto dispatches. UDWF/UDAF-as-window via ctx.encode_udwf/encode_udaf; window frame + InputOrderMode by-name.
Follow the pattern in #23494 (reference impl: #23495 / ProjectionExec; full end-state draft: #23496). Add try_to_proto inside impl ExecutionPlan for X, add the inherent X::try_from_proto, repoint the decode arm, and delete the old central arm in the same PR (that is the proof the hook is reached). Keep the wire format byte-for-byte identical.
Part of #23494.
windows/window_agg_exec.rs,windows/bounded_window_agg_exec.rs. Both share theWindowproto variant (distinguished byinput_order_mode) — onetry_from_protodispatches. UDWF/UDAF-as-window viactx.encode_udwf/encode_udaf; window frame +InputOrderModeby-name.Follow the pattern in #23494 (reference impl: #23495 /
ProjectionExec; full end-state draft: #23496). Addtry_to_protoinsideimpl ExecutionPlan for X, add the inherentX::try_from_proto, repoint the decode arm, and delete the old central arm in the same PR (that is the proof the hook is reached). Keep the wire format byte-for-byte identical.