from $ from $ from table would not correctly re-alias the values.
This PR reverts that fix and substitutes it with a different one that addresses union(set operations) directly by changing how it reuses variable names.
Lesson Learned: Do not try to reuse variable names unless you want pain
334 broke the behavior of nested subqueries
from $ from $ from table
would not correctly re-alias the values.This PR reverts that fix and substitutes it with a different one that addresses union(set operations) directly by changing how it reuses variable names.
Lesson Learned: Do not try to reuse variable names unless you want pain