-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
refactor: move DataSource
to datafusion-datasource
#14671
base: main
Are you sure you want to change the base?
Conversation
So exciting... |
@alamb any Idea on what to do with unit tests in |
I looked at the errors, and most of them appear to be related to the tests in physical_plan using Some other ideas:
|
BTW thank you for working on this -- I suggest we try the "make a mock ExecutionPlan" approach -- that would be the cleanest I think and would be a good way for you to learn more about how ExecutionPlans worked I can try and find time to sketch it out if needed |
Thanks for the suggestions. I will try to make |
@alamb, I have implemented a MockMemorySourceConfig and MockDataSource which is essentially same as what was previously in physical_plan but now for tests only. You can find the implementation here. The tests are passing on my PC, although there are some warnings, so cleaning up that part is still pending. I think this is different from what you were suggesting. It would be pretty helpful if you can point me in the right direction. Thanks, |
I think this sounds reasonable -- I was just saying that the split between |
It does look that way, I will try to make it one Mock struct. |
DataSource
to datafusion-datasource
DataSource
to datafusion-datasource
@alamb What do we want to do with benches? (they are causing circular dependency) |
Which issue does this PR close?
datafusion
crate (datafusion/core
) #14444.Rationale for this change
What changes are included in this PR?
refactor of
DataSource
Are these changes tested?
not completely, only
cargo check
work for nowAre there any user-facing changes?
yes, but only if they are building from source.