We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe88fd1 commit aa43c25Copy full SHA for aa43c25
src/dialect/databricks.rs
@@ -39,6 +39,10 @@ impl Dialect for DatabricksDialect {
39
matches!(ch, 'a'..='z' | 'A'..='Z' | '0'..='9' | '_')
40
}
41
42
+ fn supports_numeric_prefix(&self) -> bool {
43
+ true
44
+ }
45
+
46
fn supports_filter_during_aggregation(&self) -> bool {
47
true
48
tests/sqlparser_databricks.rs
@@ -644,3 +644,10 @@ fn parse_databricks_json_accessor() {
644
"SELECT raw:store.bicycle.price::DOUBLE FROM store_data",
645
);
646
647
648
+#[test]
649
+fn parse_numeric_prefix_identifier() {
650
+ databricks().verified_stmt("SELECT * FROM catalog.schema.1st_table");
651
652
+ databricks().verified_stmt("SELECT * FROM a.b.1c");
653
+}
0 commit comments