summaryrefslogtreecommitdiff
path: root/test/sql/test_join_rewriting.py
Commit message (Collapse)AuthorAgeFilesLines
* - Fixed a regression introduced by the join rewriting feature ofMike Bayer2013-11-011-0/+33
| | | | | | | :ticket:`2369` and :ticket:`2587` where a nested join with one side already an aliased select would fail to translate the ON clause on the outside correctly; in the ORM this could be seen when using a SELECT statement as a "secondary" table. [ticket:2858]
* - fix issue in join rewriting whereby we need to ensure the .key and .nameMike Bayer2013-07-271-4/+83
| | | | | | are transferred correctly for when .key is present; tests have been enhanced to test this condition for render, result map construction, statement execution. [ticket:2790]
* - add coverage for result map rewritingMike Bayer2013-06-041-0/+6
| | | | | - fix the result map rewriter for col mismatches, since the rewritten select at the moment typically has more columns than the original
* - if the select() does not have use_labels on, then we just renderMike Bayer2013-06-041-0/+51
| | | | | | the joins as is, regardless of the dialect not supporting it. use_labels=True indicates a higher level of automation and also can maintain the labels between rewritten and not. use_labels=False indicates a manual use case.
* - support for a__b_dc, i.e. two levels of nestingMike Bayer2013-06-041-35/+131
|
* - add a flag to DefaultDialect for this so that people will have someMike Bayer2013-06-041-1/+28
| | | | workaround
* rewriting scheme now works.Mike Bayer2013-06-041-28/+21
|
* capture the really hard one in a test (hooray)Mike Bayer2013-06-041-0/+119