diff options
Diffstat (limited to 'sqlglot/executor/python.py')
-rw-r--r-- | sqlglot/executor/python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/executor/python.py b/sqlglot/executor/python.py index f114e5c..3f96f90 100644 --- a/sqlglot/executor/python.py +++ b/sqlglot/executor/python.py @@ -394,7 +394,7 @@ def _lambda_sql(self, e: exp.Lambda) -> str: names = {e.name.lower() for e in e.expressions} e = e.transform( - lambda n: exp.Var(this=n.name) + lambda n: exp.var(n.name) if isinstance(n, exp.Identifier) and n.name.lower() in names else n ) |