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

Update proto to support to/from json with an extension codec #14561

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

Omega359
Copy link
Contributor

@Omega359 Omega359 commented Feb 8, 2025

Which issue does this PR close?

Rationale for this change

json parity with bytes impl

What changes are included in this PR?

Code.

Are these changes tested?

Existing tests

Are there any user-facing changes?

No

@github-actions github-actions bot added the proto Related to proto crate label Feb 8, 2025
@Omega359 Omega359 marked this pull request as ready for review February 8, 2025 20:13
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @Omega359

.map_err(|e| plan_datafusion_err!("Error serializing plan: {e}"))?;
serde_json::to_string(&protobuf)
.map_err(|e| plan_datafusion_err!("Error serializing plan: {e}"))
logical_plan_to_json_with_extension_codec(plan, &extension_codec)
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@alamb alamb merged commit 9c12919 into apache:main Feb 9, 2025
24 checks passed
xudong963 pushed a commit to xudong963/arrow-datafusion that referenced this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proto Related to proto crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update proto to support to/from json with an extension codec
2 participants