Skip to content

Optimization for registrants history report#52

Merged
jmgasper merged 1 commit intomasterfrom
develop
Feb 25, 2026
Merged

Optimization for registrants history report#52
jmgasper merged 1 commit intomasterfrom
develop

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

No description provided.

@jmgasper jmgasper merged commit b9f443a into master Feb 25, 2026
4 of 5 checks passed
JOIN resources."Resource" res
ON res."challengeId" = fc.id
AND res."roleId" = sr.id
LIMIT 1000
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The LIMIT 1000 clause is applied twice: once in the subquery for registrants and again in the main query. This could lead to unexpected results if the intention is to limit the overall result set to 1000 rows. Consider whether both limits are necessary or if only one should be applied to achieve the desired result.

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