Skip to content

Commit a0763db

Browse files
committed
Fix ArrayCompact incompatibility with branch-53
1 parent 6c29a5a commit a0763db

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

datafusion/functions-nested/src/array_compact.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ use datafusion_expr::{
3232
Volatility,
3333
};
3434
use datafusion_macros::user_doc;
35+
use std::any::Any;
3536
use std::sync::Arc;
3637

3738
make_udf_expr_and_func!(
@@ -85,6 +86,10 @@ impl ScalarUDFImpl for ArrayCompact {
8586
"array_compact"
8687
}
8788

89+
fn as_any(&self) -> &dyn Any {
90+
self
91+
}
92+
8893
fn signature(&self) -> &Signature {
8994
&self.signature
9095
}

0 commit comments

Comments
 (0)