- 
    Type:
Bug
 - 
    Resolution: Done
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: None
 - 
    Component/s: Aggregation Framework
 - 
    None
 
- 
        ALL
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
This script causes an error:
db = db.getSiblingDB('foo');
var r = db.runCommand({ "aggregate" : "blah", "pipeline" : [
    { "$project" : {
        "key" : 1,
        "v" : 1
    }},
    { "$group" : {
        "_id" : 
,
        "min_v" : 
    }}
]});
> r
{
        "errmsg" : "exception: disallowed field type 16 in object expression (at
 \"key\")",
        "code" : 15992,
        "ok" : 0
}
I tried using NumberInt for the ones in the $project, and they were fine. Just the one in the $group has the problem.
- is depended on by
 - 
                    
SERVER-447 new aggregation framework
-         
 - Closed
 
 -