Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Added Send+Sync to Filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Nov 29, 2021
1 parent f2c7503 commit f5b5213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::{array::*, types::NativeType};
use crate::{buffer::MutableBuffer, error::Result};

/// Function that can filter arbitrary arrays
pub type Filter<'a> = Box<dyn Fn(&dyn Array) -> Box<dyn Array> + 'a>;
pub type Filter<'a> = Box<dyn Fn(&dyn Array) -> Box<dyn Array> + 'a + Send + Sync>;

fn filter_nonnull_primitive<T: NativeType>(
array: &PrimitiveArray<T>,
Expand Down

0 comments on commit f5b5213

Please sign in to comment.