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

MINOR: Refactor datafusion-proto dependencies and imports #2623

Merged
merged 3 commits into from
May 26, 2022

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented May 26, 2022

Which issue does this PR close?

N/A

Rationale for this change

This PR adds specific dependencies on datafusion-common and datafusion-expr and updates the imports to reference those crates directly rather than use the re-exports from the core datafusion crate.

The implementation of datafusion-proto now only depends on a single item from the core crate and that is FunctionRegistry. We could potentially move this out in the future so that other projects can use datafusion-proto without depending on the core crate.

The tests still depend heavily on the core crate.

What changes are included in this PR?

Add new dependencies in Cargo.toml and refactor the imports

Are there any user-facing changes?

No

Does this PR break compatibility with Ballista?

No

@github-actions github-actions bot added the datafusion Changes in the datafusion crate label May 26, 2022
@andygrove andygrove changed the title Datafusion proto deps MINOR: Refactor datafusion-proto dependencies and imports May 26, 2022
@andygrove andygrove requested a review from alamb May 26, 2022 15:39
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.

makes sense to me -- thank you for all your work to untangle the crates @andygrove ❤️

@alamb alamb merged commit 2a15e3f into apache:master May 26, 2022
@andygrove andygrove deleted the datafusion-proto-deps branch January 27, 2023 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants