diff options
Diffstat (limited to '')
-rw-r--r-- | sqlglot/dialects/presto.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sqlglot/dialects/presto.py b/sqlglot/dialects/presto.py index 0d8d4ab..e5cfa1c 100644 --- a/sqlglot/dialects/presto.py +++ b/sqlglot/dialects/presto.py @@ -309,6 +309,9 @@ class Presto(Dialect): exp.FileFormatProperty: lambda self, e: f"FORMAT='{e.name.upper()}'", exp.First: _first_last_sql, exp.Group: transforms.preprocess([transforms.unalias_group]), + exp.GroupConcat: lambda self, e: self.func( + "ARRAY_JOIN", self.func("ARRAY_AGG", e.this), e.args.get("separator") + ), exp.Hex: rename_func("TO_HEX"), exp.If: if_sql(), exp.ILike: no_ilike_sql, |