waynexia commented on issue #6335: URL: https://github.com/apache/arrow-datafusion/issues/6335#issuecomment-1551180123
Realize that the deserialize method need an registry to dispatch types. I plan to add an field in `SessionState` to do that. It looks like ```rust pub trait ExtensionDeserializer { fn deserialize_logical_plan( &self, name: &str, bytes: &[u8], ) -> Result<Arc<dyn UserDefinedLogicalNode>>; // Won't be added this time fn deserialize_physical_plan( &self, name: &str, bytes: &[u8], ) -> Result<Arc<dyn ExecutionPlan>>; } ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org