diff options
author | Drew Paroski <drew.paroski@mongodb.com> | 2022-01-11 19:12:21 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-02 21:24:40 +0000 |
commit | 6b74d91648e6bacf446aeb84a56fda9bc60df90b (patch) | |
tree | f97b47957e26d55247bb1c990fb127835fd4d7b7 /src/mongo/db/exec | |
parent | e0a295719bb98afc0942d07aba9f92d76f8b42f3 (diff) | |
download | mongo-6b74d91648e6bacf446aeb84a56fda9bc60df90b.tar.gz |
SERVER-62522 Update TODO comment in SBENodeLowering::walk(const ExchangeNode&)
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/sbe/abt/abt_lower.cpp | 5 |
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; |