summaryrefslogtreecommitdiffstats
path: root/sqlglot/planner.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:31:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-03 07:31:54 +0000
commitb38d717d5933fdae3fe85c87df7aee9a251fb58e (patch)
tree6db21a44ffea4c832dcab29688bfaf1c1dc124f9 /sqlglot/planner.py
parentReleasing debian version 11.4.1-1. (diff)
downloadsqlglot-b38d717d5933fdae3fe85c87df7aee9a251fb58e.tar.xz
sqlglot-b38d717d5933fdae3fe85c87df7aee9a251fb58e.zip
Merging upstream version 11.4.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'sqlglot/planner.py')
-rw-r--r--sqlglot/planner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlglot/planner.py b/sqlglot/planner.py
index 40df39f..5fd96ef 100644
--- a/sqlglot/planner.py
+++ b/sqlglot/planner.py
@@ -175,7 +175,7 @@ class Step:
}
for projection in projections:
for i, e in aggregate.group.items():
- for child, _, _ in projection.walk():
+ for child, *_ in projection.walk():
if child == e:
child.replace(exp.column(i, step.name))
aggregate.add_dependency(step)