Skip to content

Commit

Permalink
more api updates
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Dec 13, 2024
1 parent 6bfb30d commit 8cb1625
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions datafusion/sql/src/unparser/dialect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ impl PostgreSqlDialect {
over: None,
within_group: vec![],
parameters: ast::FunctionArguments::None,
uses_odbc_syntax: false,
}))
}
}
Expand Down
4 changes: 4 additions & 0 deletions datafusion/sql/src/unparser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ impl Unparser<'_> {
over,
within_group: vec![],
parameters: ast::FunctionArguments::None,
uses_odbc_syntax: false,
}))
}
Expr::SimilarTo(Like {
Expand Down Expand Up @@ -295,6 +296,7 @@ impl Unparser<'_> {
over: None,
within_group: vec![],
parameters: ast::FunctionArguments::None,
uses_odbc_syntax: false,
}))
}
Expr::ScalarSubquery(subq) => {
Expand Down Expand Up @@ -500,6 +502,7 @@ impl Unparser<'_> {
over: None,
within_group: vec![],
parameters: ast::FunctionArguments::None,
uses_odbc_syntax: false,
}))
}

Expand Down Expand Up @@ -1504,6 +1507,7 @@ impl Unparser<'_> {
over: None,
within_group: vec![],
parameters: ast::FunctionArguments::None,
uses_odbc_syntax: false,
}))
}

Expand Down
1 change: 1 addition & 0 deletions datafusion/sql/src/unparser/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ pub(crate) fn date_part_to_sql(
over: None,
within_group: vec![],
parameters: ast::FunctionArguments::None,
uses_odbc_syntax: false,
})));
}
}
Expand Down

0 comments on commit 8cb1625

Please sign in to comment.