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: AfterQuery should clear FROM Clause's Joins rather than the Stat… #7027

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liov
Copy link
Contributor

@liov liov commented May 17, 2024

  • Do only one thing
  • Non breaking API changes
  • Tested

What did this pull request do?

fix #7025

User Case Description

There are two options. The first is to choose to clear the Joins in the fromClause each time and regenerate them for every query, which would be somewhat less performant. The second option involves adding cached fields within the fromClause's Joins, allowing subsequent queries to utilize these caches. In this case, the first option has been selected.

Of course, there is still room for optimization here.

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.

Executing count will clear Statement.Joins
1 participant