[SERVER-6470] aggregation converts regex values to strings in result set Created: 16/Jul/12 Updated: 28/Oct/15 Resolved: 11/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Aaron Staple | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Operating System: | ALL |
| Participants: |
| Description |
|
Observed behavior: An aggregation result based on a regular expression from mongod is converted to a string in the result set. Test:
|
| Comments |
| Comment by Githook User [ 11/Dec/13 ] |
|
Author: {u'username': u'estolfo', u'name': u'Emily Stolfo', u'email': u'emily@10gen.com'}Message: |
| Comment by Mathias Stearn [ 11/Dec/12 ] |
|
Backward breaking only in unlikely case of users depending on broken /a/i == "a" behavior. |
| Comment by auto [ 11/Dec/12 ] |
|
Author: {u'date': u'2012-11-29T19:54:48Z', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}Message: Add at least minimal support for all types to agg Minimal support means conversion to/from BSON, comparison and hashing.
|