This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 48aaab7c6a exposing ArraySize and ArrayFlatten (#13600)
48aaab7c6a is described below

commit 48aaab7c6a04c7e833ae01fb3ea1e84006c40289
Author: Emil <[email protected]>
AuthorDate: Sat Nov 30 13:42:59 2024 +0100

    exposing ArraySize and ArrayFlatten (#13600)
---
 datafusion/functions-nested/src/flatten.rs | 9 ++++++++-
 datafusion/functions-nested/src/length.rs  | 9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/datafusion/functions-nested/src/flatten.rs 
b/datafusion/functions-nested/src/flatten.rs
index 3650b1f37b..9d2cb8a3f6 100644
--- a/datafusion/functions-nested/src/flatten.rs
+++ b/datafusion/functions-nested/src/flatten.rs
@@ -42,10 +42,17 @@ make_udf_expr_and_func!(
 );
 
 #[derive(Debug)]
-pub(super) struct Flatten {
+pub struct Flatten {
     signature: Signature,
     aliases: Vec<String>,
 }
+
+impl Default for Flatten {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 impl Flatten {
     pub fn new() -> Self {
         Self {
diff --git a/datafusion/functions-nested/src/length.rs 
b/datafusion/functions-nested/src/length.rs
index 084b37bf13..3f92cb3ebb 100644
--- a/datafusion/functions-nested/src/length.rs
+++ b/datafusion/functions-nested/src/length.rs
@@ -43,10 +43,17 @@ make_udf_expr_and_func!(
 );
 
 #[derive(Debug)]
-pub(super) struct ArrayLength {
+pub struct ArrayLength {
     signature: Signature,
     aliases: Vec<String>,
 }
+
+impl Default for ArrayLength {
+    fn default() -> Self {
+        Self::new()
+    }
+}
+
 impl ArrayLength {
     pub fn new() -> Self {
         Self {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to