-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Handle NaN in toDouble. #1483
Handle NaN in toDouble. #1483
Conversation
Codecov Report
@@ Coverage Diff @@
## 6.0.x #1483 +/- ##
============================================
+ Coverage 78.82% 78.86% +0.04%
- Complexity 6191 6196 +5
============================================
Files 460 460
Lines 20702 20704 +2
Branches 2280 2281 +1
============================================
+ Hits 16318 16329 +11
+ Misses 3331 3323 -8
+ Partials 1053 1052 -1
Continue to review full report at Codecov.
|
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.
Thanks. LGTM
Seems we should merge to |
There's no test attached. Can you @dengliming create one during the merge? We should port the change (via FTR, edit the commit message to match the Lettuce commit message format (here are two commits for a PR merge: 5810f96 and b240c58). |
Can we just add a simple test for method |
That's perfectly fine to go with a unit test as that's the simple-most approach. |
Thanks @dengliming @mp911de . Let me know if you need me to clean anything up or otherwise change anything. I put PR to 6.0.x because that's the release branch I was hoping it would get in. Further back is of course fine w/ me as well. |
@krm1312 It would be better If you can also add a unit test for |
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.
Thanks. Looks good. a small suggestion. in order to show your id in the contributor list, don’t forget the configurations below:
git config --global user.name "username"
git config --global user.email "[email protected]"
One more thing: please squash your commits into a single one. Merge commits cause trouble during cherry picking. |
At least redis search can return '-nan' in some fieds from ft.info.
Original pull request: #1483.
Original pull request: #1483.
@krm1312 Thanks for your contribution. That's merged. |
@mp911de |
Great merge, @dengliming 👍 Fo 5.3.x, we need to apply the fix manually, since we can't backport the commit. |
Original pull request: #1483.
@mp911de Got it. That‘s backported now. |
#1482