pub trait ToLocalBatch {
// Required method
fn to_local(&self) -> Result<PlanRef, RwError>;
// Provided method
fn to_local_with_order_required(
&self,
required_order: &Order,
) -> Result<PlanRef, RwError> { ... }
}
Expand description
Converts a batch physical plan to local plan for local execution.
This is quite similar to ToBatch
, but different in several ways. For example it converts
scan to exchange + scan.