Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add protobuf codecs for FFI physical plans #13309

Open
timsaucer opened this issue Nov 8, 2024 · 0 comments
Open

Add protobuf codecs for FFI physical plans #13309

timsaucer opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@timsaucer
Copy link
Contributor

Is your feature request related to a problem or challenge?

#12920 added FFI Physical Plans. These cannot be encoded or decoded with the DefaultPhysicalExtensionCodec. We cannot serialize these plans that include foreign elements. I would like to add a way to provide for serialization/deserialization across the FFI boundary.

Describe the solution you'd like

Add an additional struct along the lines of FFI_PhysicalExtensionCodec that implements PhysicalExtensionCodec.

Describe alternatives you've considered

None that I can think of, other than to find work arounds to not serialize these plans.

Additional context

This is needed to support adding a FFI_QueryPlanner so that we can do things like use a different library to generate physical plans. The use case I currently have in mind is datafusion-ray where we want to make a query planner that can automatically distribute work across multiple nodes in a cluster.

@timsaucer timsaucer added the enhancement New feature or request label Nov 8, 2024
@timsaucer timsaucer self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant