From b914aa5952774464498d6e14d2d82bd663e448c0 Mon Sep 17 00:00:00 2001 From: xxchan Date: Fri, 20 Sep 2024 17:27:41 +0800 Subject: [PATCH] feat: add Sync to TransformFunction 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.