-
Notifications
You must be signed in to change notification settings - Fork 413
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
cargo clippy fails on core in main #1843
Comments
Running |
strange, at least for me, I can reproduce the clippy error, however when I run it with |
This does also look to fail a |
I've tried a couple variations here and I think @roeap is on the right track, the issue seems to be datafusion vs. non-datafusion enabled builds of core |
I'll take care of this today, sorry for breaking main 🙈 |
I took a look at this today, but this is out of my skill level. What I found:
Ok(futures::stream::empty().boxed()) Things start compiling again. To the contrary, skipping only the interleaving / reordering of batches part doesn't: let object_store_ref = context.object_store.clone();
// Read all batches into a vec
let batches: Vec<RecordBatch> = futures::stream::iter(files.clone())
.then(|file| {
let object_store_ref = object_store_ref.clone();
async move {
let file_reader = ParquetObjectReader::new(object_store_ref.clone(), file);
ParquetRecordBatchStreamBuilder::new(file_reader)
.await?
.build()
}
})
.try_flatten()
.try_collect::<Vec<_>>()
.await?;
Ok(futures::stream::iter(batches)
.map(|x| Ok(x))
.boxed())
|
Running
cargo clippy
incrates/deltalake-core
in the latestHEAD
ofmain
(currently2b913b37
)The text was updated successfully, but these errors were encountered: