-
Notifications
You must be signed in to change notification settings - Fork 0
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 bug of divide and modulus not handling a 0 denominator with byte data type #272
Conversation
* Created anonymizer listener for anonymizing SQL queries through the new engine Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Andrew Carbonetto <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
Signed-off-by: Matthew Wells <[email protected]>
core/src/test/java/org/opensearch/sql/expression/operator/arthmetic/ArithmeticFunctionTest.java
Show resolved
Hide resolved
Signed-off-by: Matthew Wells <[email protected]>
Codecov Report
@@ Coverage Diff @@
## integ-byte-bug #272 +/- ##
=================================================
Coverage 97.27% 97.28%
- Complexity 4330 4332 +2
=================================================
Files 388 388
Lines 10807 10809 +2
Branches 761 761
=================================================
+ Hits 10513 10515 +2
Misses 287 287
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
… (opensearch-project#1716) * Fixed bug of byte/short values not handling divide/modulus arithmetic equations Signed-off-by: Matthew Wells <[email protected]>
… (opensearch-project#1716) (opensearch-project#1734) * Fixed bug of byte/short values not handling divide/modulus arithmetic equations Signed-off-by: Matthew Wells <[email protected]> (cherry picked from commit 2c80631) Co-authored-by: Matthew Wells <[email protected]>
Description
Previously there was no handling of a 0 denominator for byte in the divide and modulus arithmetic operators, I have fixed that and updated it's testing.
Issues Resolved
opensearch-project#1582
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.