Open Farnsi opened 2 weeks ago
Currently only 2 queries are corretly combined to a union.
When you add a third query, the first two are wrapped with () and all wrapped too, that doesn't work.
Example (current result of drizzle), when unionAll(query1, query2, query3)
unionAll(query1, query2, query3)
( ( SELECT ... ) UNION ALL ( SELECT ... ) ) UNION ALL ( SELECT ... )
Describe what you want
Currently only 2 queries are corretly combined to a union.
When you add a third query, the first two are wrapped with () and all wrapped too, that doesn't work.
Example (current result of drizzle), when
unionAll(query1, query2, query3)