summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_graph_lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/document_source_graph_lookup.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_graph_lookup.cpp12
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,