[SERVER-7185] Aggregation should support Symbol type Created: 27/Sep/12 Updated: 28/Oct/15 Resolved: 11/Dec/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 2.2.0 |
| Fix Version/s: | 2.3.2 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Ry Walker | Assignee: | Mathias Stearn |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ruby 1.9.3, OSX Mountain Lion |
||
| Operating System: | ALL |
| Steps To Reproduce: | Renaming to reflect scope of issue (not just $group) |
| Participants: |
| Description |
|
I'm getting an error in aggregation framework for a field that is stored as BSON Symbol using Mongoid's `symbolize` method. Any way around this besides not storing the data as a symbol? The bad field below is '$bucket_type' —
|
| Comments |
| 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.
|
| Comment by Ry Walker [ 28/Sep/12 ] |
|
Thanks for quick response — I did see the warning later in the afternoon. Can close issue. |
| Comment by Daniel Pasette (Inactive) [ 28/Sep/12 ] |
|
At this time you still can't use the following types: Binary, Symbol, MinKey, MaxKey, DBRef, Code, and CodeWScope |