summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorDrew Paroski <drew.paroski@mongodb.com>2022-01-11 19:12:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-02-02 21:24:40 +0000
commit6b74d91648e6bacf446aeb84a56fda9bc60df90b (patch)
treef97b47957e26d55247bb1c990fb127835fd4d7b7 /src/mongo
parente0a295719bb98afc0942d07aba9f92d76f8b42f3 (diff)
downloadmongo-6b74d91648e6bacf446aeb84a56fda9bc60df90b.tar.gz
SERVER-62522 Update TODO comment in SBENodeLowering::walk(const ExchangeNode&)
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/exec/sbe/abt/abt_lower.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/abt/abt_lower.cpp b/src/mongo/db/exec/sbe/abt/abt_lower.cpp
index 737f94064da..9d806cd5afd 100644
--- a/src/mongo/db/exec/sbe/abt/abt_lower.cpp
+++ b/src/mongo/db/exec/sbe/abt/abt_lower.cpp
@@ -363,7 +363,6 @@ std::unique_ptr<sbe::PlanStage> SBENodeLowering::walk(const ExchangeNode& n,
const ABT& child,
const ABT& refs) {
using namespace std::literals;
- // TODO: Implement all types of distributions.
using namespace properties;
// The DOP is obtained from the child (number of producers).
@@ -397,6 +396,10 @@ std::unique_ptr<sbe::PlanStage> SBENodeLowering::walk(const ExchangeNode& n,
break;
case DistributionType::RangePartitioning:
+ // We set 'localPolicy' to 'ExchangePolicy::rangepartition' here, but there is more
+ // that we need to do to actually support the RangePartitioning distribution.
+ // TODO SERVER-62523: Implement real support for the RangePartitioning distribution
+ // and add some test coverage.
localPolicy = sbe::ExchangePolicy::rangepartition;
break;