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

plan: fix distributed avg #345

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Conversation

MichaHoffmann
Copy link
Contributor

The we should rewrite to sum by (xxx) / on (xxx) count by (xxx).

@MichaHoffmann MichaHoffmann force-pushed the mhoffm-fix-distributed-avg branch from e83723a to 28cf306 Compare December 5, 2023 18:28
LHS: &sum,
RHS: &count,
VectorMatching: &parser.VectorMatching{
Include: aggr.Grouping,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to include that to make sure that name is not dropped ( its usually dropped by vector binary "/" )

The we should rewrite to sum by (xxx) / on (xxx) count by (xxx).

Signed-off-by: Michael Hoffmann <[email protected]>
@MichaHoffmann MichaHoffmann force-pushed the mhoffm-fix-distributed-avg branch from 28cf306 to a4f695c Compare December 5, 2023 18:42
Copy link
Collaborator

@fpetkovski fpetkovski left a comment

Choose a reason for hiding this comment

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

TIL

@MichaHoffmann MichaHoffmann merged commit b53dae0 into main Dec 6, 2023
6 checks passed
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