summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/sbe/stages/hash_join.h
diff options
context:
space:
mode:
authorDrew Paroski <drew.paroski@mongodb.com>2021-02-01 21:53:54 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-02 23:39:47 +0000
commita825de9512b63044139138a7c16248466ef88431 (patch)
treedb1351ff3651876422662f1e101d1d6edbd5c322 /src/mongo/db/exec/sbe/stages/hash_join.h
parent4941c446e9091caa1f7151bd874c8d5b72c39bb8 (diff)
downloadmongo-a825de9512b63044139138a7c16248466ef88431.tar.gz
SERVER-52736 Collation support in SBE
Diffstat (limited to 'src/mongo/db/exec/sbe/stages/hash_join.h')
-rw-r--r--src/mongo/db/exec/sbe/stages/hash_join.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/stages/hash_join.h b/src/mongo/db/exec/sbe/stages/hash_join.h
index e70378962ab..f40af886a02 100644
--- a/src/mongo/db/exec/sbe/stages/hash_join.h
+++ b/src/mongo/db/exec/sbe/stages/hash_join.h
@@ -60,7 +60,8 @@ public:
private:
using TableType = std::unordered_multimap<value::MaterializedRow, // NOLINT
value::MaterializedRow,
- value::MaterializedRowHasher>;
+ value::MaterializedRowHasher,
+ value::MaterializedRowEq>;
using HashKeyAccessor = value::MaterializedRowKeyAccessor<TableType::iterator>;
using HashProjectAccessor = value::MaterializedRowValueAccessor<TableType::iterator>;
@@ -91,6 +92,8 @@ private:
// Key used to probe inside the hash table.
value::MaterializedRow _probeKey;
+ // TODO SERVER-54025: Update HashJoinStage so that it's mechanism for matching outer keys and
+ // inner keys is collation-aware.
TableType _ht;
TableType::iterator _htIt;
TableType::iterator _htItEnd;