diff options
author | David Storch <david.storch@10gen.com> | 2019-02-26 17:51:45 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2019-03-11 10:14:57 -0400 |
commit | c0492bf5b77542cbacd73bcfe1e0c999b8078c07 (patch) | |
tree | 47735a9c7aaa58b9af8d646be99700be1426ada9 /src/mongo/db/pipeline/document_source_graph_lookup.cpp | |
parent | 9a7cfb73da3a86d1c20f674140f1f908e2bae0c8 (diff) | |
download | mongo-c0492bf5b77542cbacd73bcfe1e0c999b8078c07.tar.gz |
SERVER-40056 Remove partial implementation of streaming $group.
The streaming $group optimization was never fully implemented,
so the code was disabled. This patch removes the dead code, including
DocumentSource::getOutputSorts().
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_graph_lookup.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/pipeline/document_source_graph_lookup.cpp b/src/mongo/db/pipeline/document_source_graph_lookup.cpp index eea8b370cdf..007718f0e13 100644 --- a/src/mongo/db/pipeline/document_source_graph_lookup.cpp +++ b/src/mongo/db/pipeline/document_source_graph_lookup.cpp @@ -376,18 +376,6 @@ Pipeline::SourceContainer::iterator DocumentSourceGraphLookUp::doOptimizeAt( return std::next(itr); } -BSONObjSet DocumentSourceGraphLookUp::getOutputSorts() { - std::set<std::string> fields{_as.fullPath()}; - if (_depthField) { - fields.insert(_depthField->fullPath()); - } - if (_unwind && (*_unwind)->indexPath()) { - fields.insert((*_unwind)->indexPath()->fullPath()); - } - - return DocumentSource::truncateSortSet(pSource->getOutputSorts(), fields); -} - void DocumentSourceGraphLookUp::checkMemoryUsage() { // TODO SERVER-23980: Implement spilling to disk if allowDiskUse is specified. uassert(40099, |