From a2d84d919a248870d233d4a5193a8150175fa191 Mon Sep 17 00:00:00 2001 From: Jorge Leitao Date: Mon, 29 Nov 2021 21:34:57 +0100 Subject: [PATCH] Added Send+Sync to `Filter`. (#645) --- src/compute/filter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compute/filter.rs b/src/compute/filter.rs index b14aa337035..a5e0f61f9be 100644 --- a/src/compute/filter.rs +++ b/src/compute/filter.rs @@ -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 Box + 'a>; +pub type Filter<'a> = Box Box + 'a + Send + Sync>; fn filter_nonnull_primitive( array: &PrimitiveArray,