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

   ## Which issue does this PR close?
   
   - Closes #22427.
   
   ## Rationale for this change
   
   DataFusion is migrating built-in physical expressions to own their protobuf 
serialization and deserialization through the `try_to_proto` / `try_from_proto` 
hooks added in #21929. `Literal` still used the central physical expression 
proto match.
   
   ## What changes are included in this PR?
   
   This ports `Literal` to the per-expression proto hook pattern and updates 
physical expression decoding to delegate literal reconstruction to 
`Literal::try_from_proto`. The protobuf wire format is unchanged.
   
   ## Are these changes tested?
   
   Yes.
   
   - `cargo fmt --all -- --check`
   - `cargo test -p datafusion-proto --test proto_integration 
cases::roundtrip_physical_plan::roundtrip_filter_with_not_and_in_list`
   - `cargo test -p datafusion-proto --test proto_integration 
cases::roundtrip_physical_plan::roundtrip_hash_table_lookup_expr_to_lit`
   - `cargo test -p datafusion-proto --test proto_integration 
cases::roundtrip_physical_plan::roundtrip_call_null_scalar_struct_dict`
   - `cargo test -p datafusion-proto --test proto_integration 
cases::roundtrip_physical_plan::test_round_trip_human_display`
   - `git diff --check`
   
   ## Are there any user-facing changes?
   
   No. This is an internal serialization refactor with the same serialized 
representation.


-- 
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