pub fn execute_adaptive(
operator: Box<dyn Operator>,
context: Option<AdaptiveContext>,
config: Option<AdaptivePipelineConfig>,
) -> Result<(Vec<DataChunk>, Option<AdaptiveSummary>), OperatorError>Expand description
Convenience function to execute a pull-based operator with adaptive tracking.
This is the recommended entry point for adaptive execution.
§Arguments
operator- The pull-based operator to executecontext- Adaptive context with cardinality estimates (or None for default)config- Optional configuration (uses defaults if None)
§Returns
A tuple of (collected DataChunks, adaptive summary if tracking was enabled).