Skip to content

sql.test_selectable test_reduce_aliased_union_2 relies on dict ordering #1486

Closed
@sqlalchemy-bot

Description

@sqlalchemy-bot
Collaborator

Migrated issue, originally created by Philip Jenvey (@pjenvey)

This is one of the failures on Jython w/ Apple Java 1.5, turned out to be dict ordering. Reproducable on CPython via:

Index: test/sql/test_selectable.py
===================================================================
--- test/sql/test_selectable.py	(revision 6210)
+++ test/sql/test_selectable.py	(working copy)
@@ -419,7 +419,7 @@
         from sqlalchemy.orm.util import polymorphic_union
         pjoin = polymorphic_union(
             {
-                'm': page_table.join(magazine_page_table),
+                '_m': page_table.join(magazine_page_table),
                 'c': page_table.join(magazine_page_table).join(classified_page_table),
             }, None, 'page_join')        

Activity

sqlalchemy-bot

sqlalchemy-bot commented on Jul 28, 2009

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

that is awesome !!

sqlalchemy-bot

sqlalchemy-bot commented on Jul 28, 2009

@sqlalchemy-bot
CollaboratorAuthor

Michael Bayer (@zzzeek) wrote:

b3b0859 b303eb9

sqlalchemy-bot

sqlalchemy-bot commented on Jul 28, 2009

@sqlalchemy-bot
CollaboratorAuthor

Changes by Michael Bayer (@zzzeek):

  • changed milestone from "0.6.0" to "0.5.6"
  • changed status to closed
added this to the 0.5.6 milestone on Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingorm

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sqlalchemy-bot

        Issue actions

          sql.test_selectable test_reduce_aliased_union_2 relies on dict ordering · Issue #1486 · sqlalchemy/sqlalchemy