Skip to content

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

@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants