diff options
Diffstat (limited to '')
-rw-r--r-- | sqlglot/dialects/presto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/dialects/presto.py b/sqlglot/dialects/presto.py index e5cfa1c..88525a2 100644 --- a/sqlglot/dialects/presto.py +++ b/sqlglot/dialects/presto.py @@ -34,7 +34,7 @@ def _approx_distinct_sql(self: Presto.Generator, expression: exp.ApproxDistinct) def _explode_to_unnest_sql(self: Presto.Generator, expression: exp.Lateral) -> str: - if isinstance(expression.this, (exp.Explode, exp.Posexplode)): + if isinstance(expression.this, exp.Explode): expression = expression.copy() return self.sql( exp.Join( |