[SERVER-14846] Expose basic arithmetic operations for NumberLong Created: 09/Aug/14  Updated: 10/Dec/14  Resolved: 11/Aug/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Vincent Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-14217 Support NumberLong arithmetic in mong... Backlog
Participants:

 Description   

Like add/substract/multiply/divide/pow/mod/etc.
It currently makes M/R jobs dealing with NumberLong a total pain and really inefficient (we have to include our own --ugly – BigNumber library and then convert back to NumberLong from the string representation).



 Comments   
Comment by Vincent [ 11/Aug/14 ]

Thanks Matt.

Comment by Matt Kangas [ 11/Aug/14 ]

Hi Vincent,

Your request looks nearly identical to SERVER-14217, which requests NumberLong arithmetic operators in the shell. You are requesting them for server-side JS. I will expand SERVER-14217 to encompass your request and mark this ticket as a duplicate. Please watch the other ticket for status updates.

Comment by Vincent [ 11/Aug/14 ]

Hi Michael,

Thanks for trying to help.
I'm not sure how MongoDB work regarding to community contributions... Maybe you just need to submit a pull request on https://github.com/mongodb/mongo ; you probaly want to figure this out with MongoDB team before. Check http://groups.google.com/group/mongodb-dev and http://www.mongodb.org/about/community/

Comment by Michael Giannakopoulos [ 11/Aug/14 ]

Hi Vincent,

I am really interested in working so as to solve this issue. I am new to mongodb server, however I have read the manual and watched some tutorial videos. It might take me a while to figure out what's happening with the source code, however I think that with your guidance (as well as with the guidance of other members) I can solve this issue. I am willing to put in the effort and begin from somewhere to learn the source code of this massive project, and I think that an issue like this is ideal for that purpose.

Thanks,
Michael

Generated at Thu Feb 08 03:36:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.