Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to Add Support for UNION ALL Keyword #23

Open
vxwong opened this issue May 28, 2024 · 0 comments
Open

Request to Add Support for UNION ALL Keyword #23

vxwong opened this issue May 28, 2024 · 0 comments

Comments

@vxwong
Copy link

vxwong commented May 28, 2024

Problem:

Would it be possible to add support for UNION ALL? Since it's quite common in sql queries.

Reproduce:

here's my gold file, btw the script works well if replacing UNION ALL with UNION:

SELECT DISTINCT country FROM singer WHERE age  >  20 UNION ALL SELECT DISTINCT country FROM singer WHERE age  >  20	concert_singer

Here's the exception:

    assert toks[idx] == 'select', "'select' not found"
AssertionError: 'select' not found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant