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: Move project_schema to datafusion_common #7237

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 8, 2023

Which issue does this PR close?

Part of #1754

Rationale for this change

As part of preparing (finally) to move the physical_plan into its own crate so datafusion builds faster and is more modular, I am trying to clean up cross module dependencies where I find them

What changes are included in this PR?

  1. Move project_schema into datafusion_common
  2. Update use for project_schema in datasource

Are these changes tested?

tested by existing tests

Are there any user-facing changes?

No -- I left a pub use for backwards compatibility

@github-actions github-actions bot added the core Core DataFusion crate label Aug 8, 2023
@@ -50,7 +50,7 @@ use crate::{
error::{DataFusionError, Result},
execution::context::SessionState,
logical_expr::Expr,
physical_plan::{empty::EmptyExec, project_schema, ExecutionPlan, Statistics},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Long term I would like to cut the dependency between physical_plan and datasource -- but I need to get physical_plan extracted first

@jackwener jackwener merged commit 61329a0 into apache:main Aug 9, 2023
@alamb alamb deleted the alamb/move_project_scheam branch August 9, 2023 17:04
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.

3 participants