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 protobuf serialization for AnalyzeExec #7574

Merged
merged 5 commits into from
Sep 18, 2023

Conversation

adhish20
Copy link
Contributor

Which issue does this PR close?

NA

Rationale for this change

Allow serde for AnalyzeExec

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Sep 15, 2023
@adhish20 adhish20 changed the title feat: serde for AnalyzeExec Implement protobuf serialization for AnalyzeExec Sep 15, 2023
@adhish20 adhish20 changed the title Implement protobuf serialization for AnalyzeExec Implement protobuf serialization for 'AnalyzeExec' Sep 15, 2023
@adhish20 adhish20 changed the title Implement protobuf serialization for 'AnalyzeExec' Implement protobuf serialization for AnalyzeExec Sep 15, 2023
@alamb alamb self-requested a review September 16, 2023 10:19
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 for the contribution @Adish20 -- much appreciated.

I think the only thing this PR needs is a test -- perhaps you can follow the model of

    fn rountrip_aggregate() -> Result<()> {

@github-actions github-actions bot removed the core Core DataFusion crate label Sep 18, 2023
@adhish20
Copy link
Contributor Author

@alamb I have added a test as you suggested

@adhish20 adhish20 requested a review from alamb September 18, 2023 10:52
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.

Thanks @adhish20

let schema = Schema::new(vec![field_a, field_b]);
let input = Arc::new(EmptyExec::new(true, Arc::new(schema.clone())));

roundtrip_test(Arc::new(AnalyzeExec::new(
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@adhish20
Copy link
Contributor Author

@alamb could you help me by approving the workflow run one more time

@alamb
Copy link
Contributor

alamb commented Sep 18, 2023

@alamb could you help me by approving the workflow run one more time

No problem -- after we merge this one, your subsequent PRs should run without the need for explicit approval

@alamb alamb merged commit 938505b into apache:main Sep 18, 2023
21 checks passed
@alamb
Copy link
Contributor

alamb commented Sep 18, 2023

Thanks again @adhish20 -- looking forward to working with you more.

@adhish20
Copy link
Contributor Author

@alamb me too.

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.

2 participants