Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-97291

Split IndexBoundBuilder from query_planner library

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • 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.

            Assignee:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Reporter:
            ben.shteinfeld@mongodb.com Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: