From 3b27c9e4da74eda8a47bdbd65d55f1a034911ce2 Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 20 Sep 2024 18:32:31 +0800 Subject: [PATCH] feat: add Sync to TransformFunction (#638) Signed-off-by: xxchan --- crates/iceberg/src/transform/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/iceberg/src/transform/mod.rs b/crates/iceberg/src/transform/mod.rs index 72b179754..81449da55 100644 --- a/crates/iceberg/src/transform/mod.rs +++ b/crates/iceberg/src/transform/mod.rs @@ -29,7 +29,7 @@ mod truncate; mod void; /// TransformFunction is a trait that defines the interface for all transform functions. -pub trait TransformFunction: Send { +pub trait TransformFunction: Send + Sync { /// transform will take an input array and transform it into a new array. /// The implementation of this function will need to check and downcast the input to specific /// type.