Merge lp://staging/~jamesh/storm/bug-242813 into lp://staging/storm
Proposed by
James Henstridge
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp://staging/~jamesh/storm/bug-242813 |
Merge into: | lp://staging/storm |
Diff against target: |
132 lines 2 files modified
storm/expr.py (+10/-0) tests/expr.py (+87/-0) |
To merge this branch: | bzr merge lp://staging/~jamesh/storm/bug-242813 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jamu Kakar (community) | Approve | ||
Review via email: mp+10508@code.staging.launchpad.net |
To post a comment you must log in.
Flatten nested set expressions as they are built so that we are less likely to hit Python's recursion limit when compiling the expression to SQL.
This relies on the left associativity of all the set expressions. (i.e. that Union(Union(a, b), c) is equivalent to Union(a, b, c)).