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

perf(query) Remove unnecessary serialization if the execution is local #1970

Merged
merged 12 commits into from
Mar 27, 2025

Conversation

amolnayak311
Copy link
Contributor

Pull Request checklist

  • The commit(s) message(s) follows the contribution guidelines ?
  • Tests for the changes have been added (for bug fixes / features) ?
  • Docs have been added / updated (for bug fixes / features) ?

Current behavior :

The makeResult converts the RangeVector to a SerializableRangeVector if it's not one. This prevents us from benefiting from target schema optimization where both LHS and RHS are on the same shard. We end up serializing the range vector even if we don't have to

New behavior :

We check the dispatcher in the ExecPlan and if it is a local, we don't convert the RangeVector to SerializedRangeVector

@amolnayak311 amolnayak311 merged commit b095c3b into filodb:develop Mar 27, 2025
1 check passed
amolnayak311 added a commit to amolnayak311/FiloDB that referenced this pull request Mar 27, 2025
amolnayak311 added a commit to amolnayak311/FiloDB that referenced this pull request Mar 27, 2025
amolnayak311 added a commit that referenced this pull request Mar 27, 2025
amolnayak311 added a commit that referenced this pull request Mar 27, 2025
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.

3 participants