We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 238f705 commit c8b0129Copy full SHA for c8b0129
sqlglot/dialects/exasol.py
@@ -115,6 +115,7 @@ class Exasol(Dialect):
115
}
116
117
class Tokenizer(tokens.Tokenizer):
118
+ IDENTIFIERS = ['"', ("[", "]")]
119
KEYWORDS = {
120
**tokens.Tokenizer.KEYWORDS,
121
"USER": TokenType.CURRENT_USER,
tests/dialects/test_exasol.py
@@ -5,6 +5,12 @@ class TestExasol(Validator):
5
dialect = "exasol"
6
maxDiff = None
7
8
+ def test_exasol(self):
9
+ self.validate_identity(
10
+ "SELECT 1 AS [x]",
11
+ 'SELECT 1 AS "x"',
12
+ )
13
+
14
def test_type_mappings(self):
15
self.validate_identity("CAST(x AS BLOB)", "CAST(x AS VARCHAR)")
16
self.validate_identity("CAST(x AS LONGBLOB)", "CAST(x AS VARCHAR)")
0 commit comments