- 
    Type:
Task
 - 
    Resolution: Fixed
 - 
    Priority:
Major - P3
 - 
    Affects Version/s: None
 - 
    Component/s: None
 - 
    None
 
- 
        Query Optimization
 - 
        Fully Compatible
 - 
        QO 2024-11-25, QO 2024-12-09
 - 
        None
 
- 
        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.
- is depended on by
 - 
                    
SERVER-97465 Using sampling to estimate filters
-         
 - Closed
 
 -