-
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
Remove scan_csv
methods from LogicalPlanBuilder
#2537
Conversation
scan_csv
methods from LogicalPlanBuilder
scan_csv
methods from LogicalPlanBuilder
scan_csv
methods from LogicalPlanBuilder
scan_csv
methods from LogicalPlanBuilder
scan_csv
methods from LogicalPlanBuilder
scan_csv
methods from LogicalPlanBuilder
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 went through the test changes carefully; Very nice @andygrove
@@ -1236,39 +1212,17 @@ mod roundtrip_tests { | |||
|
|||
#[tokio::test] | |||
async fn roundtrip_analyze() -> Result<()> { | |||
let schema = Schema::new(vec![ |
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.
nice cleanups
|
||
roundtrip_test!(plan); | ||
|
||
Ok(()) | ||
} | ||
|
||
#[ignore] // see https://github.com/apache/arrow-datafusion/issues/2546 |
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.
FYI other reviewers: https://github.com/apache/arrow-datafusion/issues/2546
Thanks for the review @alamb ... I am close to being able to move |
Which issue does this PR close?
Part of #2536
Rationale for this change
LogicalPlanBuilder
should be in same crate asLogicalPlan
LogicalPlanBuilder
should not need to know about data sources & object store but justTableSource
What changes are included in this PR?
LogicalPlanBuilder
toSessionContext
roundtrip_logical_plan_custom_ctx
test datafusion-ballista#481 to fixThere will be separate PRs to remove the other scan methods (parquet, json, avro).
Are there any user-facing changes?
Yes, this changes the
LogicalPlanBuilder
API