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

   ## Which issue does this PR close?
   
   - Closes #24616.
   
   ## Rationale for this change
   
   Proto hooks that access fields individually can silently omit newly added 
state. Exhaustive destructuring makes such omissions compile errors.
   
   ## What changes are included in this PR?
   
   - Exhaustively destructure `CaseExpr`, `CaseBody`, and `InListExpr` in their 
encoders.
   - Exhaustively destructure their protobuf nodes in the decoders.
   - Document `eval_method` and `static_filter` as constructor-derived state.
   
   The behavior and wire format are unchanged.
   
   ## Are these changes tested?
   
   Covered by the existing CASE and IN-list proto hook tests:
   
   ```bash
   cargo test -p datafusion-physical-expr --features proto case::proto_tests
   cargo test -p datafusion-physical-expr --features proto in_list::proto_tests
   ```
   
   ## 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