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

No supporting for intersection #713

Open
YeWenjia opened this issue Apr 16, 2023 · 0 comments
Open

No supporting for intersection #713

YeWenjia opened this issue Apr 16, 2023 · 0 comments

Comments

@YeWenjia
Copy link

if there is a query with intersection and where:

select 1 from foo where 1 =1 intersect select 2 from foo

the token of where will contain the intersection part which means that it
does not take "intersect" as a keyword.

we have a simple solution:

In the Where class of sql.py file, we add 'INTERSECT' in the M_CLOSE.

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