Xuanwo opened a new pull request, #25214:
URL: https://github.com/apache/datafusion/pull/25214

   ## Which issue does this PR close?
   
   - Follow-up to #23832.
   
   ## Rationale for this change
   
   `RangeExpr` is the only existing self-serializing physical expression whose 
protobuf hooks do not destructure both the execution type and protobuf node 
exhaustively. A future field addition could therefore compile while being 
silently omitted from the wire format.
   
   ## What changes are included in this PR?
   
   Destructure `RangeExpr` and `PhysicalRangeExprNode` exhaustively in their 
encode and decode hooks. This adds a compile-time guard without changing 
serialized behavior or the wire format.
   
   ## What is the testing strategy for this PR?
   
   The existing `roundtrip_range_expr` test covers both hooks. It passes 
together with formatting, all-target/all-feature clippy, and the extended 
workspace test suite.
   
   ## Are there any user-facing changes?
   
   No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to