Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedion2 committed Sep 10, 2024
1 parent d987de9 commit a207bd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
10 changes: 3 additions & 7 deletions src/datafusion/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,9 @@ pub(crate) fn build_row_filter(
let candidates: Vec<ZarrFilterCandidate> = predicates
.into_iter()
.flat_map(|expr| {
if let Ok(candidate) =
ZarrFilterCandidateBuilder::new(expr.clone(), file_schema).build()
{
candidate
} else {
None
}
ZarrFilterCandidateBuilder::new(expr.clone(), file_schema)
.build()
.unwrap_or_default()
})
.collect();

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ mod tests {
use object_store::local::LocalFileSystem;
use std::path::PathBuf;

#[cfg(feature = "datafusion")]
pub(crate) fn get_test_v2_data_path(zarr_store: String) -> PathBuf {
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("test-data/data/zarr/v2_data")
Expand Down

0 comments on commit a207bd5

Please sign in to comment.