Skip to content

Commit

Permalink
update [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking committed Dec 17, 2024
1 parent f71b2fa commit 368cddd
Showing 1 changed file with 23 additions and 21 deletions.
44 changes: 23 additions & 21 deletions crates/lib-dialects/src/databricks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,27 +127,29 @@ pub fn dialect() -> Dialect {
.to_matchable()
.into(),
),
// (
// "ForeignKeyOptionGrammar".into(),
// Sequence::new(vec_of_erased![
// Sequence::new(vec_of_erased![Ref::keyword("MATCH"), Ref::keyword("FULL"),])
// .config(|config| { config.optional() }),
// Sequence::new(vec_of_erased![
// Ref::keyword("ON"),
// Ref::keyword("UPDATE"),
// Ref::keyword("NO"),
// Ref::keyword("ACTION"),
// ])
// .config(|config| { config.optional() }),
// Sequence::new(vec_of_erased![
// Ref::keyword("ON"),
// Ref::keyword("DELETE"),
// Ref::keyword("NO"),
// Ref::keyword("ACTION"),
// ]),
// ]),
// ),
// // DropConstraintGrammar=Sequence(
(
"ForeignKeyOptionGrammar".into(),
Sequence::new(vec_of_erased![
Sequence::new(vec_of_erased![Ref::keyword("MATCH"), Ref::keyword("FULL"),])
.config(|config| { config.optional() }),
Sequence::new(vec_of_erased![
Ref::keyword("ON"),
Ref::keyword("UPDATE"),
Ref::keyword("NO"),
Ref::keyword("ACTION"),
])
.config(|config| { config.optional() }),
Sequence::new(vec_of_erased![
Ref::keyword("ON"),
Ref::keyword("DELETE"),
Ref::keyword("NO"),
Ref::keyword("ACTION"),
]),
])
.to_matchable()
.into(),
),
// DropConstraintGrammar=Sequence(
// // "DROP",
// // OneOf(
// // Sequence(
Expand Down

0 comments on commit 368cddd

Please sign in to comment.