Skip to content

Commit

Permalink
exposing ArraySize and ArrayFlatten (#13600)
Browse files Browse the repository at this point in the history
  • Loading branch information
Groennbeck authored Nov 30, 2024
1 parent 3ab67d8 commit 48aaab7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion datafusion/functions-nested/src/flatten.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
9 changes: 8 additions & 1 deletion datafusion/functions-nested/src/length.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 48aaab7

Please sign in to comment.