Make SamplingEstimator an interface

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, QO 2024-12-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When integrating sampling estimation into CBR, we ran into a dependency cycle: query_exec -> query_planner -> cardinality_estimator -> sampling_estimator -> query_exec. SamplingEstimator needs `query_exec` to run sample queries. To break this cycle, we will convert SamplingEstimator to an interface and have cardinality_estimator only depend on the interface.

            Assignee:
            Ben Shteinfeld
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: