Split IndexBoundBuilder from query_planner library

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2024-11-25
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: