Repository navigation
Fix incorrect results returned by min, max and avg - #1000
Conversation
… on null/missing values. Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
Fix incorrect results returned by `min`, `max` and `avg`
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #1000 +/- ##
============================================
- Coverage 97.95% 97.60% -0.35%
- Complexity 3137 3186 +49
============================================
Files 303 308 +5
Lines 7783 7983 +200
Branches 501 520 +19
============================================
+ Hits 7624 7792 +168
- Misses 158 190 +32
Partials 1 1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
The CodeQL is failing and seems caused by some regular expression in GrokUtils. I assume it's introduced by other PR earlier? https://github.com/opensearch-project/sql/pull/1000/checks?check_run_id=9215922956 |
|
I see. Not sure why it doesn't fail on all other PRs. Btw, to follow the same procedure, should we choose 2.x branch as target and label with |
The base branch was changed.
|
Done. Please, re-review. |
Looks good. Thanks! |
* Fix incorrect results returned by `min`, `max` and `avg` aggregations on null/missing values. Signed-off-by: Yury-Fridlyand <[email protected]> * Fix indentation. Signed-off-by: Yury-Fridlyand <[email protected]> * Activate and fix integration tests. Signed-off-by: Yury-Fridlyand <[email protected]> * Add more tests. Signed-off-by: Yury-Fridlyand <[email protected]> Signed-off-by: Yury-Fridlyand <[email protected]> (cherry picked from commit 4282450)
* Fix incorrect results returned by `min`, `max` and `avg` aggregations on null/missing values. Signed-off-by: Yury-Fridlyand <[email protected]> * Fix indentation. Signed-off-by: Yury-Fridlyand <[email protected]> * Activate and fix integration tests. Signed-off-by: Yury-Fridlyand <[email protected]> * Add more tests. Signed-off-by: Yury-Fridlyand <[email protected]> Signed-off-by: Yury-Fridlyand <[email protected]> (cherry picked from commit 4282450) Co-authored-by: Yury-Fridlyand <[email protected]>
Fix incorrect results returned by
min,maxandavgwhen processing null/missing values only.Signed-off-by: Yury-Fridlyand [email protected]
See team review & discussion in Bit-Quill#145
Description
Before
After
Fixed:
minmaxavgNot fixed:
sumThis requires much more changes.
Not affected
var_sampvar_popstddev_sampstddev_popIssues Resolved
Fixes #817
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.