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

Implement logical plan serde for CopyTo #8618

Merged
merged 4 commits into from
Dec 22, 2023
Merged

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Dec 21, 2023

Which issue does this PR close?

Closes #8596

Rationale for this change

Implement serde for CopyTo because it is needed by Ballista (apache/datafusion-ballista#894).

What changes are included in this PR?

Implement serde and add unit tests.

There is a follow-on issue #8619 to add support for CopyTo with WriterOptions, which for now is unsupported and will return an Err.

Are these changes tested?

Yes.

Are there any user-facing changes?

@andygrove andygrove marked this pull request as ready for review December 21, 2023 16:40
Comment on lines 355 to 356
println!("{plan:?}");
println!("{logical_round_trip:?}");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is left by intention?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, no. Thanks for catching that. I have removed it.

@Dandandan Dandandan merged commit 0ff5305 into apache:main Dec 22, 2023
22 checks passed
@Dandandan
Copy link
Contributor

TY @andygrove !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement protobuf serialization for LogicalPlan::CopyTo
3 participants