snuba
snuba copied to clipboard
fix: Disallow column aliases in inner queries of subqueries
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.
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
:x: Failed Test Results:
Completed 315 tests with 1 failed, 313 passed and 1 skipped.
View the full list of failed tests
| Test Description | Failure message |
|---|---|
Testsuite: |
Traceback (most recent call last): |
Out of date