You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Once #2639 is merged we should add support for serializing plans that contain subquery expressions.
This will likely require breaking changes to the API because we currently have one API for Expr that optionally accepts a FunctionRegistry and one API for LogicalPlan that optionally accepts a LogicalExtensionCodec. With subquery support we have plans referencing expressions and expressions referencing plans, so these APIs will need to be combined somehow.
Here is a suggestion for the new API from the discussion at #2639 (comment)
let bytes = PlanSerializer::new().with_extension_codec(&extension_codec).serialize()?;
When we implement this feature, it might be worth considering a slightly more encapsulated API for serializing / deserializing plans, as described in #2639 (comment)
Activity
liukun4515 commentedon May 30, 2022
feature of the subquery is needed in my system, I can figure out this issue.
@andygrove
liukun4515 commentedon May 30, 2022
also with that: #2338
and https://github.com/andygrove/arrow-datafusion/blob/39c444835ddcb38cf1efeb4414fbb8ecd49ac020/datafusion/proto/src/to_proto.rs#L710
alamb commentedon May 30, 2022
When we implement this feature, it might be worth considering a slightly more encapsulated API for serializing / deserializing plans, as described in #2639 (comment)
andygrove commentedon May 31, 2022
I have a PR up (#2670) with a proposal for the API part
alamb commentedon Nov 23, 2022
Possibly duplicated by #2646