I can\'t seem to get SQLAlchemy to generate proper SQL that satisfies SQLite.
SQLAlchmey query:
q = select([0]).union_all(select([0]).limit(30))