Skip to content

Commit 4e86967

Browse files
committed
fix ups
1 parent 9316210 commit 4e86967

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/dialect/databricks.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ impl Dialect for DatabricksDialect {
9292

9393
/// See <https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-qry-select-groupby.html>
9494
fn supports_group_by_with_modifier(&self) -> bool {
95-
true
95+
true
9696
}
97-
9897
}

src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@
153153
// Splitting complex nodes (expressions, statements, types) into separate types
154154
// would bloat the API and hide intent. Extra memory is a worthwhile tradeoff.
155155
#![allow(clippy::large_enum_variant)]
156-
// TODO: Fix and remove this.
157-
#![expect(clippy::unnecessary_unwrap)]
158156

159157
// Allow proc-macros to find this crate
160158
extern crate self as sqlparser;

tests/sqlparser_common.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15213,6 +15213,7 @@ fn ast_with_pass_through_query() {
1521315213
from.relation = TableFactor::PassThroughQuery {
1521415214
query: "SELECT * FROM tx".to_string(),
1521515215
alias: Some(TableAlias {
15216+
explicit: false,
1521615217
name: Ident::new("ty"),
1521715218
columns: vec![],
1521815219
}),

0 commit comments

Comments
 (0)