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

EXCEPT DISTINCT parsed to EXCEPT ALL #83

Open
JordyHeusdensDT opened this issue Jan 7, 2022 · 0 comments
Open

EXCEPT DISTINCT parsed to EXCEPT ALL #83

JordyHeusdensDT opened this issue Jan 7, 2022 · 0 comments

Comments

@JordyHeusdensDT
Copy link

The latest ZetaSQL (2021.09.1) doesn't handle EXCEPT DISTINCT properly.

Assume we have some Query 'Q1' (as String) that contains EXCEPT DISTINCT.
We parse Q1 via ZetaSQL and format it again to get a String again. This String is a new Query 'Q2'

Expected resulted: Both Q1 and Q2 have EXCEPT DISTINCT.
Current result: Q1 has EXCEPT DISTINCT, Q2 has EXCEPT ALL.

See #82 for fix.

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