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

entc/gen: reduce the usage of DISTINCT in queries #3305

Merged
merged 1 commit into from Feb 6, 2023
Merged

Conversation

a8m
Copy link
Member

@a8m a8m commented Feb 6, 2023

Most queries are not graph traversals but rather regular table scans, in which case the DISTINCT clause is not needed as duplicates cannot be returned (unless query was modified by the user).

Most queries are not graph traversals but rather regular table scans,
in which case the DISTINCT clause is not needed as duplicates cannot be
returned (unless query was modified by the user).
@a8m
Copy link
Member Author

a8m commented Feb 6, 2023

cc @crossworth, @giautm

@a8m a8m merged commit 939c7cf into master Feb 6, 2023
@a8m a8m deleted the reducedistinct branch February 6, 2023 20:40
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

Successfully merging this pull request may close these issues.

None yet

1 participant