-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
Fully Compatible
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Implement makeJoinPlanCacheKey(const JoinGraph&) that serializes a normalized, parameterized join graph to an opaque string.
Pseudocode:
- Parameterize MatchExpressions
- Serialize nodes in ascending nodeId order: for each node emit nodeId:nss:parameterized_match_expr_shape
- Serialize edges in ascending edgeId order: for each each emit leftId:rightId:leftPath:rightPath:joinPredOperator
This can be unit tested independently.
- related to
-
SERVER-130421 [Join Optimization] Cache key computation tasserts in presence of projection
-
- Closed
-
-
SERVER-129264 [Join Optimization] Hook up join plan cache into executor.cpp
-
- Closed
-