snuba icon indicating copy to clipboard operation
snuba copied to clipboard

fix: Disallow column aliases in inner queries of subqueries

Open evanh opened this issue 9 months ago • 1 comments

When a column is aliased to something different in the inner subquery, it breaks how aliasing works at the higher levels. It's also not necessary, since the column can be referenced directly, and the outer query can alias the expression however it likes in the results.

Also fixed some typing in the test file.

evanh avatar May 10 '24 14:05 evanh