powa-team / powa-web

PoWA user interface
http://powa.readthedocs.io/
73 stars 31 forks source link

Avoid cartesian product in predicate view #105

Closed anayrat closed 4 years ago

anayrat commented 4 years ago

stmt was missing and leads sqlalchemy to add a join on powa_statement without filtering clause. It generates a cartesian product and python eating all memory.

Thanks @rdunklau for the fix!