Details
-
New Feature
-
Resolution: Done
-
Minor - P4
-
None
-
1.8.3
Description
Synopsis: please add BinData.getBytes() to be able to deal with BinData value easily from MR
Currently the only way to access the value from a BinData object in your javascript map/reduce job seems to call base64() and decode the value using a custom js function. This is especially inconvenient in cases where you have certain fields packed in your _id (such as customerId, year, month, day in my case) and want to mask out parts of the _id to derive a new key for MR. This would be really easy to do if there was a BinData.getBytes() function returning an array of numbers.
Attachments
Issue Links
- is related to
-
SERVER-43411 add base64 and UUID conversion functions or add BinData $convert
-
- In Code Review
-
- related to
-
SERVER-43411 add base64 and UUID conversion functions or add BinData $convert
-
- In Code Review
-