Changes between Initial Version and Version 1 of Ticket #33768, comment 4
- Timestamp:
- Jun 6, 2022, 4:25:53 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33768, comment 4
initial v1 1 1 > What if we performed a subquery pushdown instead to make compilation more predictable so we can have the order by clause refer to the union columns by name? 2 2 3 Maybe, in hindsight that would probably be havethe way to implement unions (etc) in the first place. Maybe now is the time to switch to that :) What does a subquery mean in terms of performance -- I'd hope the database wouldn't care to much…3 Maybe, in hindsight that would probably should have been the way to implement unions (etc) in the first place. Maybe now is the time to switch to that :) What does a subquery mean in terms of performance -- I'd hope the database wouldn't care to much… 4 4 5 5 > I don't see `OrderBy.as_sql` usage of template for compilation is an abuse at all; it's in charge of it's own compilation unit.