summaryrefslogtreecommitdiffstats
path: root/sqlglot/dialects/trino.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-20 09:22:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-20 09:22:25 +0000
commita45bbbb6f2fbd117d5d314e34e85afc2b48ad677 (patch)
tree35b576637338ae7cef217ddab721ad81aeb3f78c /sqlglot/dialects/trino.py
parentReleasing debian version 18.4.1-1. (diff)
downloadsqlglot-a45bbbb6f2fbd117d5d314e34e85afc2b48ad677.tar.xz
sqlglot-a45bbbb6f2fbd117d5d314e34e85afc2b48ad677.zip
Merging upstream version 18.5.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sqlglot/dialects/trino.py')
-rw-r--r--sqlglot/dialects/trino.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/sqlglot/dialects/trino.py b/sqlglot/dialects/trino.py
index 0c953a1..3682ac7 100644
--- a/sqlglot/dialects/trino.py
+++ b/sqlglot/dialects/trino.py
@@ -5,6 +5,8 @@ from sqlglot.dialects.presto import Presto
class Trino(Presto):
+ SUPPORTS_USER_DEFINED_TYPES = False
+
class Generator(Presto.Generator):
TRANSFORMS = {
**Presto.Generator.TRANSFORMS,
@@ -13,6 +15,3 @@ class Trino(Presto):
class Tokenizer(Presto.Tokenizer):
HEX_STRINGS = [("X'", "'")]
-
- class Parser(Presto.Parser):
- SUPPORTS_USER_DEFINED_TYPES = False