-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
-
Fully Compatible
-
QO 2024-11-25
As part of SERVER-97088, we'd like to be able to invoke IndexBoundsBuilder::translate() in CardinalityEstimator to convert a MatchExpression into intervals, so that we can use histograms to estimate it. The problem is IndexBoundsBuilder is defined in the query_planner library which depends on cardinality_estimator, so we can't introduce a dependency on query_planner as that would cause a cycle.
This ticket represents work to separate IndexBoundsBuilder out from the query_planner library into its own library so that CardinalityEstimator can depend on it without a cycle.
- is depended on by
-
SERVER-97088 Add ability to use histograms to estimate residual predicates
- In Code Review