-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Extract CreateMemoryTable, DropTable, CreateExternalTable in LogicalPlan as independent struct #1311
Conversation
656d373
to
0919bb3
Compare
0919bb3
to
daf2899
Compare
@xudong963 PTAL |
Thanks @liukun4515, I'll take a look tomorrow! |
datafusion/src/logical_plan/mod.rs
Outdated
@@ -27,7 +27,7 @@ mod display; | |||
mod expr; | |||
mod extension; | |||
mod operators; | |||
pub mod plan; | |||
mod plan; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is backward compatible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @jimexist 's implicit suggestion that we should leave the code as pub mod plan;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jimexist @alamb
I have doubts about this backward compatible.
Before this commit #1290, this is mod plan
, and this commit is not in the release 6.0.0 datafusion.
The reason i did this is to keep code style with original usage:
pub use plan::{
JoinConstraint, JoinType, LogicalPlan, Partitioning, PlanType, PlanVisitor,
};
and make some struct public we wanted.
This PR now also has several logical conflicts with master :( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @liukun4515 -- can you please address @jimexist 's comment and resolve the merge conflicts and I think this one will be ready to merge
datafusion/src/logical_plan/mod.rs
Outdated
@@ -27,7 +27,7 @@ mod display; | |||
mod expr; | |||
mod extension; | |||
mod operators; | |||
pub mod plan; | |||
mod plan; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with @jimexist 's implicit suggestion that we should leave the code as pub mod plan;
LGTM! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks
@alamb please merge this pr |
Thanks @liukun4515 ! |
Which issue does this PR close?
Closes #1306
Rationale for this change
What changes are included in this PR?
Are there any user-facing changes?