-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should complete the work around subqueries yielding full tables. Prior commit (9fb3f83) did not properly handle outer where/group by/order by clauses. This commit adds a new `maybeNamed: Option[NamedColumn[_]]` to `SubqueryColumn`, which is used to match column operations (equality, aggregation, etc.) to target subquery table/column -- e.g. "where t1.c1 = t1.c2" instead of erroneous "where t2.id = t3.id" (since table aliases t2 & t3 don't exist, all subquery columns are referenced under a single subquery table alias tN).
- Loading branch information
Showing
4 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters