-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Compare Java and Scala BigDecimal with tolerance #213
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #213 +/- ##
=======================================
Coverage 86.36% 86.36%
=======================================
Files 46 46
Lines 1005 1005
Branches 89 86 -3
=======================================
Hits 868 868
Misses 116 116
Partials 21 21
Continue to review full report at Codecov.
|
7dd1961
to
088792a
Compare
I added tests for the |
So if the relative tolerance for bigdecimal support only exists in 2+ we should only test it in 2+, but the style issues are fine. |
If you've got the time to move the new test code from 1.3 to 2+ that would be great, but if not let me know and I can do that part. |
Gentle follow up. If I don't here back I'll assume your busy and do the last fix :) |
Hi @holdenk, Thanks a lot! |
Ok I'll take this on and try and fix it after Spark 2.3 goes out so we can have it with that release :) |
Also congratulations!!!!!!!!!!!!!!!!!! |
088792a
to
2e3531e
Compare
I noticed that for
java.math.BigDecimal
no tolerance comparison is done inDataFrameSuite.approxEquals
andscala.math.BigDecimal
is missing completely.Is there a reason for that?
If there isn't I would add corresponding test cases along with this change.