[SERVER-5718] Code and CodeWScope should be able to pass through aggregation Created: 27/Apr/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: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-4608 aggregation: allow binary data to pa... Closed
is related to SERVER-4644 aggregation: optimize memory utilitz... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Ideally small functions should pass through as strings. If you want to bound the size, it would be nice if you could pull out the function signature.



 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.
This means that they can be passed through the pipeline correctly, used
in $sort, and used in _id expressions in $group.

SERVER-4608 - Binary pass through
SERVER-5718 - Code/CodeWScope pass through
SERVER-6470 - Don't convert Regex to String
SERVER-7185 - Symbol support
Branch: master
https://github.com/mongodb/mongo/commit/fefb4334afe40664438668a289c6daed6813b3c3

Comment by auto [ 12/Jul/12 ]

Author:

{u'date': u'2012-06-29T16:49:56-07:00', u'email': u'mathias@10gen.com', u'name': u'Mathias Stearn'}

Message: If there is an early simple $project, apply it before converting to Documents SERVER-4644

This is a partial fix for SERVER-4644 in that it only works with an
explicit $project and only if that project is supported by the existing
Projection class used to implement the second argument to find().

This also provides a workaround for objects with types that aren't
supported by the Value class (SERVER-4608, SERVER-5718, and SERVER-4968.
Previous behavior was to assert with no possible workaround.

This commit will need some doc updates, in particular in the "Optimizing
Performance" section.
Branch: master
https://github.com/mongodb/mongo/commit/c62b02c1dbc95d0ed1a57231298aa2d81dd84c39

Generated at Thu Feb 08 03:09:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.