MCPcopy Create free account
hub / github.com/apache/datafusion / create_physical_plan

Method create_physical_plan

datafusion/core/src/dataframe/mod.rs:301–303  ·  view source on GitHub ↗

Create a physical plan from this DataFrame. The `DataFrame` remains accessible after this call, so you can inspect the plan and still call [`DataFrame::collect`] or other execution methods.

(&self)

Source from the content-addressed store, hash-verified

299 /// The `DataFrame` remains accessible after this call, so you can inspect
300 /// the plan and still call [`DataFrame::collect`] or other execution methods.
301 pub async fn create_physical_plan(&self) -> Result<Arc<dyn ExecutionPlan>> {
302 self.session_state.create_physical_plan(&self.plan).await
303 }
304
305 /// Filter the DataFrame by column. Returns a new DataFrame only containing the
306 /// specified columns.

Calls

no outgoing calls