This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 3b27c9e4 feat: add Sync to TransformFunction (#638)
3b27c9e4 is described below
commit 3b27c9e4da74eda8a47bdbd65d55f1a034911ce2
Author: xxchan <[email protected]>
AuthorDate: Fri Sep 20 18:32:31 2024 +0800
feat: add Sync to TransformFunction (#638)
Signed-off-by: xxchan <[email protected]>
---
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 72b17975..81449da5 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.