buraksenn opened a new pull request, #24775: URL: https://github.com/apache/datafusion/pull/24775
## Which issue does this PR close? - Closes #24617. ## 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 `LambdaExpr` and `LambdaVariable` in their encoders. - Exhaustively destructure their protobuf nodes in the decoders. - Document constructor-derived state and add focused proto hook tests. The behavior and wire format are unchanged. ## Are these changes tested? Covered by the added lambda proto hook tests: ```bash cargo test -p datafusion-physical-expr --features proto lambda::proto_tests cargo test -p datafusion-physical-expr --features proto lambda_variable::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]
