Commit ae901ac
committed
Enable numeric-prefix identifiers for Databricks dialect
Databricks, built on Spark SQL, allows identifiers that start with
digits. The Spark SQL ANTLR lexer defines IDENTIFIER as
(UNICODE_LETTER | DIGIT | '_')+, with no restriction on the first
character.
Enable the existing supports_numeric_prefix() for DatabricksDialect.1 parent 6f8e7b8 commit ae901ac
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
0 commit comments