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

fix: unused order #1590

Merged
merged 1 commit into from
Oct 10, 2024
Merged

fix: unused order #1590

merged 1 commit into from
Oct 10, 2024

Conversation

aeneasr
Copy link
Member

@aeneasr aeneasr commented Sep 24, 2024

We filter for nid = ? so there is no point in ordering by nid.

Column shard_id is the prefix (CONSTRAINT keto_relation_tuples_uuid_pkey PRIMARY KEY (shard_id ASC, nid ASC)) so it should not impact the query planner.

We filter for `nid = ?` so there is no point in ordering by nid.

Column `shard_id` is the prefix (`CONSTRAINT keto_relation_tuples_uuid_pkey PRIMARY KEY (shard_id ASC, nid ASC)`) so it should not impact the query planner.
@aeneasr aeneasr requested a review from alnr September 24, 2024 08:34
@aeneasr aeneasr merged commit 47548c0 into master Oct 10, 2024
23 of 24 checks passed
@aeneasr aeneasr deleted the fix-sql-use branch October 10, 2024 10:48
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.

1 participant