Skip to content

Commit

Permalink
fix test and clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Nov 14, 2024
1 parent 16ff14b commit e7ec973
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion datafusion/sql/src/unparser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,6 @@ mod tests {
Signature, Volatility, WindowFrame, WindowFunctionDefinition,
};
use datafusion_expr::{interval_month_day_nano_lit, ExprFunctionExt};
use datafusion_functions::core::named_struct;
use datafusion_functions_aggregate::count::count_udaf;
use datafusion_functions_aggregate::expr_fn::sum;
use datafusion_functions_nested::expr_fn::{array_element, make_array};
Expand Down
2 changes: 1 addition & 1 deletion datafusion/sql/tests/cases/plan_to_sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,6 @@ fn test_unnest_to_sql() {
sql_round_trip(
GenericDialect {},
r#"SELECT unnest(make_array(1, 2, 2, 5, NULL)) as u1"#,
r#"SELECT UNNEST(make_array(1, 2, 2, 5, NULL)) AS u1"#,
r#"SELECT UNNEST([1, 2, 2, 5, NULL]) AS u1"#,
);
}

0 comments on commit e7ec973

Please sign in to comment.