-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
ALL
-
If the `LIMIT` appears as a stand-alone stage in the plan , rather than folded in some other operator, it apparently can not be estimated:
Enterprise test> db.foo.aggregate([ { $limit: 1 } ]).explain();
MongoServerError[Location9586709]: Hit a MONGO_UNIMPLEMENTED_TASSERT!
Enterprise test> db.foo.aggregate([ { "$match" : { a:1 }}, {$sort: {a:1}}, {$limit: 1}]).explain();
MongoServerError[Location9586709]: Hit a MONGO_UNIMPLEMENTED_TASSERT!
- duplicates
-
SERVER-99072 Support CE and costing of limit and skip stages
-
- Closed
-