summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db')
-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;