sqlparse
sqlparse copied to clipboard
Fix parser in case of complex queries
Please describe the problem that this solves. You can open an issue for this. Ideally also add a test that fails without you contribution and passes with your fix.
Please describe the problem that this solves. You can open an issue for this. Ideally also add a test that fails without you contribution and passes with your fix.
Queries like
SELECT 1
UNION
SELECT 2
we're not supported. Same applies to INTERSECT instard of UNION and a bunch of other keywords. Check the diff of this pull request for other keywords.
Check this one for a similar issue: #519