jayshrivastava opened a new issue, #21056:
URL: https://github.com/apache/datafusion/issues/21056

   ### Is your feature request related to a problem or challenge?
   
   Custom `ExecutionPlan` nodes that store `PhysicalExpr` fields (e.g., dynamic 
filter predicates pushed down during optimization) cannot participate in 
expression deduplication during serialization
   
   This is because `PhysicalExtensionCodec::try_encode` and `try_decode` don't 
have access to the `PhysicalProtoConverterExtension`, so custom codecs must use 
`serialize_physical_expr` / `parse_physical_expr` directly, bypassing the 
deduplicating converter.
   
   
   ### Describe the solution you'd like
   
   The fix is to pass the `PhysicalProtoConverterExtension` reference through 
to `try_encode` and `try_decode` so custom codecs can use the converter.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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