-
Notifications
You must be signed in to change notification settings - Fork 63
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
chore(weave): Add a fast path for simple queries #1716
Conversation
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=55e382af36be603df6a9cb6b3d99618ce334bbcc |
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=48cad5d163a1a13b20f6cc40b5b9e1ab2d1cdf76 |
3 similar comments
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=48cad5d163a1a13b20f6cc40b5b9e1ab2d1cdf76 |
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=48cad5d163a1a13b20f6cc40b5b9e1ab2d1cdf76 |
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=48cad5d163a1a13b20f6cc40b5b9e1ab2d1cdf76 |
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=cfd46c78c14a8c785b5e26b47c0c536cf2f62451 |
…fast_path_to_queries
Builds off of #1715 ... another step in making queries faster! In this PR, we take advantage of the case where there are no group-by conditions. In such cases we can push the sort/limit down into an inner-clause.
This PR does 1 thing:
having_conditions
and we only need to sort based on data in 1 event type or the other (start or end), then we can use a fast path that pushes the sort condition down to the inner clause, avoiding extra aggregations!