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: Clean up uses to point at real crates #6515

Merged
merged 2 commits into from
Jun 2, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Jun 1, 2023

Which issue does this PR close?

This is part of #1754

Rationale for this change

I want to decouple physical_plan from the core datafusion library -- I have already removed most of the actual dependencies, but there are still some dependencies that look real (because they do use crate::execution:... ) but are actual using a re-export.

What changes are included in this PR?

This updates the use statements in physical_plan to not use the backward compatible aliases but the actual new locations

Are these changes tested?

covered by existing tests

Are there any user-facing changes?

No

@github-actions github-actions bot added the core Core DataFusion crate label Jun 1, 2023
use crate::execution::context::TaskContext;
use crate::execution::memory_pool::proxy::{RawTableAllocExt, VecAllocExt};
use crate::execution::memory_pool::{MemoryConsumer, MemoryReservation};
use datafusion_execution::TaskContext;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is the core of the change -- use the actual dependencies rather than backward compatible pub use's

@@ -25,4 +25,6 @@ pub mod registry;
pub mod runtime_env;
mod task;

pub use disk_manager::DiskManager;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved from the backwards compatibility crates

@alamb alamb marked this pull request as ready for review June 1, 2023 15:29
@alamb
Copy link
Contributor Author

alamb commented Jun 2, 2023

This one I think is non controversial so merging it in now

@alamb alamb merged commit 3466522 into apache:main Jun 2, 2023
@alamb alamb deleted the alamb/cleanup_includes branch June 2, 2023 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants