Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
benfdking committed Dec 18, 2024
1 parent bdfd6e9 commit f189129
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions crates/lib-dialects/src/databricks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,18 @@ pub fn dialect() -> Dialect {
// // NotebookStart=TypedParser("notebook_start", CommentSegment, type="notebook_start"),
// // MagicLineGrammar=TypedParser("magic_line", CodeSegment, type="magic_line"),
// // MagicStartGrammar=TypedParser("magic_start", CodeSegment, type="magic_start"),
// // VariableNameIdentifierSegment=OneOf(
// // Ref("NakedIdentifierSegment"),
// // Ref("BackQuotedIdentifierSegment"),
// // ),
(
"VariableNameIdentifierSegment".into(),
one_of(vec_of_erased![
Ref::new("NakedIdentifierSegment"),
Ref::new("BackQuotedIdentifierSegment"),
])
.to_matchable()
.into(),
), // // VariableNameIdentifierSegment=OneOf(
// // Ref("NakedIdentifierSegment"),
// // Ref("BackQuotedIdentifierSegment"),
// // ),
]);

// https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-aux-show-views.html
Expand Down

0 comments on commit f189129

Please sign in to comment.