You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix wrong grouping in VectorAgg and ColumnarIndexScan
VectorAgg and ColumnarIndexScan rewrite the plan and have to renumber
the grouping columns to point at their new positions. The renumbering
changed the list while still reading from it. A new position can reuse
a number that an old position used, so an entry that was already given
its new number could be mistaken for an old one and changed a second
time. Two grouping columns then pointed at the same column: GROUP BY a, b
became GROUP BY b, b. This returned wrong results and could crash
ColumnarIndexScan.
Fixes#9902
0 commit comments