Open andygrove opened 2 years ago
feature of the subquery is needed in my system, I can figure out this issue. @andygrove
When we implement this feature, it might be worth considering a slightly more encapsulated API for serializing / deserializing plans, as described in https://github.com/apache/arrow-datafusion/pull/2639#discussion_r884249631
I have a PR up (https://github.com/apache/arrow-datafusion/pull/2670) with a proposal for the API part
Possibly duplicated by https://github.com/apache/arrow-datafusion/issues/2646
Is your feature request related to a problem or challenge? Please describe what you are trying to do. Once https://github.com/apache/arrow-datafusion/pull/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 aFunctionRegistry
and one API forLogicalPlan
that optionally accepts aLogicalExtensionCodec
. 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 https://github.com/apache/arrow-datafusion/pull/2639#discussion_r884249631
Describe the solution you'd like TBD
Describe alternatives you've considered None
Additional context None