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 show remainder calculation for Jobs by System Username #1238

Merged
merged 1 commit into from
Feb 28, 2020

Conversation

jpwhite4
Copy link
Member

Also added a regression test to check that the remainder calculation is
performed correctly.

Description

The System Username group by in the Jobs realm used an incorrect column name when building the where conditions that are used in the remainder calculation in the metric explorer. This means that the "Avg of N others" calculation was actually the "Avg of all values". This fixes the query and adds a test to confirm the correct value. I've also added a couple of tests for the other types of remainder calculation.

Also added a regression test to check that the remainder calculation is
performed correctly.
@sonarcloud
Copy link

sonarcloud bot commented Feb 27, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 2 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jpwhite4 jpwhite4 merged commit f2ac431 into ubccr:xdmod9.0 Feb 28, 2020
@jpwhite4 jpwhite4 deleted the remainder branch February 28, 2020 15:04
@jtpalmer jtpalmer changed the title Fix show remainder calculation for Jobs by System Username. Fix show remainder calculation for Jobs by System Username Aug 10, 2020
@jtpalmer jtpalmer added this to the 9.0.0 milestone Aug 10, 2020
@jtpalmer jtpalmer added bug Bugfixes Category:Metric Explorer Metric Explorer / Usage labels Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Metric Explorer Metric Explorer / Usage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants