summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/accumulator_multi.cpp
diff options
context:
space:
mode:
authorMihai Andrei <mihai.andrei@10gen.com>2021-09-09 15:04:47 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-07 18:07:17 +0000
commit1938aee15e158f5464cbf16395d64e8558466e87 (patch)
tree721bb6d1d08764f523e6f852b1c413a341cf29f5 /src/mongo/db/pipeline/accumulator_multi.cpp
parentcdfdcb76661c113b818f97053f2a07fd8071e589 (diff)
downloadmongo-1938aee15e158f5464cbf16395d64e8558466e87.tar.gz
SERVER-57884 Implement $firstN/$lastN as window functions
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_multi.cpp')
-rw-r--r--src/mongo/db/pipeline/accumulator_multi.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/accumulator_multi.cpp b/src/mongo/db/pipeline/accumulator_multi.cpp
index 912d7c56569..5c848f50434 100644
--- a/src/mongo/db/pipeline/accumulator_multi.cpp
+++ b/src/mongo/db/pipeline/accumulator_multi.cpp
@@ -92,7 +92,6 @@ REGISTER_EXPRESSION_CONDITIONALLY(
AllowedWithClientType::kAny,
boost::none,
feature_flags::gFeatureFlagExactTopNAccumulator.isEnabledAndIgnoreFCV());
-// TODO SERVER-57884 Add $firstN/$lastN as window functions.
AccumulatorN::AccumulatorN(ExpressionContext* const expCtx)
: AccumulatorState(expCtx), _maxMemUsageBytes(internalQueryMaxNAccumulatorBytes.load()) {}