Skip to content

Commit

Permalink
feat: add Sync to TransformFunction (#638)
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <xxchan22f@gmail.com>
  • Loading branch information
xxchan authored Sep 20, 2024
1 parent 34cb81c commit 3b27c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/iceberg/src/transform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3b27c9e

Please # to comment.