-
Notifications
You must be signed in to change notification settings - Fork 121
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(partition): elimination of zero values #658
Conversation
Codecov Report
@@ Coverage Diff @@
## master #658 +/- ##
=======================================
Coverage 72.94% 72.94%
=======================================
Files 266 266
Lines 8618 8618
Branches 1695 1695
=======================================
Hits 6286 6286
Misses 2293 2293
Partials 39 39
Continue to review full report at Codecov.
|
Jenkins retest this |
Jenkins retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. I've tested locally and the mentioned issue is fixed.
|
||
const rawFacts = [ | ||
{ sitc1: '7', exportVal: 0 }, | ||
{ sitc1: '3', exportVal: 1929578418424 }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: you could also include a test against negative values
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added it with 019323a
🎉 This PR is included in version 19.1.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [19.1.2](elastic/elastic-charts@v19.1.1...v19.1.2) (2020-05-04) ### Bug Fixes * **partition:** elimination of zero values ([opensearch-project#658](elastic/elastic-charts#658)) ([6e7b3dd](elastic/elastic-charts@6e7b3dd)), closes [opensearch-project#642](elastic/elastic-charts#642)
Summary
Instead of eliminating negative values, zero values are also eliminated.
Fixes #642
Addresses last item of the minimum expectations checklist in #612
Checklist
Delete any items that are not applicable to this PR.
Any consumer-facing exports were added tosrc/index.ts
(and stories only import from../src
except for test data & storybook)