summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_skip.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-51072 $skip and $limit stages silently round large doubles to MAX_LONGDenis Grebennicov2021-04-281-6/+6
|
* SERVER-54072 Added internal-client checks for aggregation command.Rishab Joshi2021-02-191-1/+2
|
* SERVER-48848 Add support for $sample aggregation stage in grammar and CSTNick Zolnierz2020-07-291-1/+1
|
* SERVER-42302 Move Document/Value library to db/exec/document_value directory.David Storch2019-10-011-2/+2
| | | | | | Document/Value is now used throughout the query execution engine, and therefore should move into the directory which holds query execution code.
* SERVER-42584 PlanStageStats in aggregationXinhao Zhang2019-08-161-4/+2
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-41294 shard filtering for $sbIan Boros2019-06-071-0/+4
|
* SERVER-39788 Large values in $skip and $limit stages may cause an arithmetic ↵Anton Korshunov2019-03-131-1/+1
| | | | overflow
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-32191 Prevent overflow during optimization of $skip.KevinCybura2018-03-191-4/+6
| | | | | | Closes #1225 Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
* SERVER-24981 Rewrite $limit optimizationjannaerin2017-12-071-8/+1
|
* SERVER-30704 Use ARM to merge agg cursors on mongos.Charlie Swanson2017-09-011-3/+1
|
* SERVER-19758 add support for "executionStats" and "allPlansExecution" to agg ↵David Storch2017-03-131-1/+1
| | | | | | | | | | | | | | | | | explain Like other explainable commands, aggregate can now be explained using the explain command, e.g. db.runCommand({explain: {aggregate: ...}, verbosity: "executionStats"}). The existing explain:true flag corresponds to "queryPlanner" mode and is still supported. However, explain:true cannot be specified when explaining aggregate via the explain command. Additional execution information is provided only in the $cursor section of the aggregation explain output. Having aggregation stages themselves track and report execution info is further work.
* SERVER-27288 Release Document ref in DocumentSourceSkip and ↵James Wahlin2016-12-191-3/+12
| | | | DocumentSourceMatch getNext()
* SERVER-25535 Remove injectExpressionContext().Charlie Swanson2016-12-161-1/+0
| | | | | | | | | | | | | | | These methods were formally used to propagate a new ExpressionContext to stages, accumulators, or expressions which potentially needed to comparisons. Originally, this was necessary since Pipeline parsing happened outside of the collection lock and thus could not determine if there was a default collation on the collection. This meant that the collation could change after parsing and any operators that might compare strings would need to know about it. We have since moved parsing within the lock, so the collation can be known at parse time and the ExpressionContext should not change. This patch requires an ExpressionContext at construction time, and disallows changing the collation on an ExpressionContext.
* SERVER-22632 Split up document_source.h into one header per stage.Charlie Swanson2016-10-241-1/+2
|
* SERVER-19153 push $match as far forward as possibleDavid Storch2016-10-061-1/+1
|
* SERVER-25038 add LiteParsedPipelineDavid Storch2016-10-031-2/+6
| | | | | | This provides a way to do pre-parse validity checks. Full parsing of the Pipeline must be done under the collection lock, when the collation is known.
* SERVER-24153 Add/refactor create() methods for DocumentSourcesCharlie Swanson2016-09-071-12/+10
| | | | | This will make it easier to add tests that each DocumentSource correctly handles a paused input.
* SERVER-24153 Allow pipelines within $facet stage to process in batches.Charlie Swanson2016-09-011-16/+12
| | | | | This approach removes the need to buffer all documents in memory, thus removing concerns about spilling intermediate results to disk.
* SERVER-24508 DocumentComparator and ValueComparatorDavid Storch2016-07-141-0/+1
| | | | | | | | | | | - Changes the Document/Value library to require comparisons to be made in the context of a comparator object. This is prep work for full collation support in the aggregation system. - Adds injectExpressionContext() to propagate the ExpressionContext containing the comparator object to all DocumentSource, Accumulator, and Expression instances involved in the Pipeline.
* SERVER-19542 Refactored pipeline optimization.Benjamin Murphy2016-02-111-12/+21
|
* SERVER-19105 Define macro for registering DocumentSourcesCharlie Swanson2015-06-241-9/+5
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-57/+51
|
* SERVER-17936 optimize out {$skip: 0} aggregation stageCharlie2015-05-061-0/+4
|
* SERVER-13256 Remove pch.hAndrew Morrow2015-01-151-3/+0
|
* SERVER-13256 Remove intrusive_ptr from pch.hAndrew Morrow2015-01-051-0/+2
|
* SERVER-13256 Prohibit new uses of pch.hAndrew Morrow2015-01-051-0/+3
|
* SplittableDocumentSource shouldn't inherit from DocumentSourceMathias Stearn2013-10-211-1/+1
|
* Don't require a pointer to BSONElement in pipeline parsing.Mathias Stearn2013-10-111-4/+4
| | | | Prevents use of rvalues among other annoying issues.
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* serialize to replace toBson in document sources and pipelinematt dannenberg2013-08-281-3/+2
|
* Remove unnecessarily defined constructors and destructors from aggregationMathias Stearn2013-08-091-3/+0
|
* Simplify aggregation DocumentSource APIMathias Stearn2013-08-091-38/+15
|
* Clean up #includes to conform with coding standardDan Pasette2013-07-241-9/+8
|
* Rewrite Document and Value classesMathias Stearn2012-11-161-1/+1
|
* SERVER-7408 Correctly handle $skip and $limit in sharded aggMathias Stearn2012-11-051-3/+2
| | | | | | This bug only comes up if the first $skip or $limit precedes the first $sort or $limit. This is very rare, but should still be handled correctly.
* SERVER-4504 aggregation explain implementationU-tellus\cwestin2012-05-211-1/+2
|
* SERVER-4843U-tellus\cwestin2012-02-291-4/+7
|
* SERVER-4844U-tellus\cwestin2012-02-151-0/+14
|
* checkpoint SERVER-4844U-tellus\cwestin2012-02-141-7/+10
|
* checkpoint dependency tracker for SERVER-4644U-tellus\cwestin2012-02-141-0/+5
|
* fixed emacs to remove tabs from files before writing; removed tabsU-tellus\cwestin2012-01-101-7/+7
|
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+99