ResultSet.union() raises an error if columns from different model classes are used
Bug #1445477 reported by
Björn Tillenius
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
New
|
Undecided
|
Unassigned |
Bug Description
If you do this, you'll get a FeatureError:
result1 = store.find(Foo.id)
result2 = store.find(Bar.id)
result3 = result1.
Since Foo.id and Bar.id are both integers, there's no reason the UNION
shouldn't work, but storm doesn't allow it.
Related branches
lp:~bjornt/storm/union-different-class-columns
- Alberto Donato (community): Approve
-
Diff: 66 lines (+29/-2)2 files modifiedstorm/store.py (+19/-2)
tests/store/base.py (+10/-0)
To post a comment you must log in.