Skip to content

Conversation

@jechol
Copy link
Contributor

@jechol jechol commented Oct 30, 2025

Reproduces a bug where combining select() + limit() with an aggregate that uses parent() in its filter causes SQL error.

This bug was found in ash_graphql where GraphQL list queries would automatically trigger this scenario.

Contributor checklist

Leave anything that you believe does not apply unchecked.

  • I accept the AI Policy, or AI was not used in the creation of this PR.
  • Bug fixes include regression tests
  • Chores
  • Documentation changes
  • Features include unit/acceptance tests
  • Refactoring
  • Update dependencies

Reproduces a bug where combining select() + limit() with an aggregate
that uses parent() in its filter causes SQL error.

This bug was found in ash_graphql where GraphQL list queries would
automatically trigger this scenario.
@jechol jechol force-pushed the test/aggregate-with-parent-filter-bug branch from ae18908 to e32aba4 Compare October 30, 2025 04:08
@zachdaniel
Copy link
Contributor

🔥 thanks for the repro!

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.

2 participants