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

Method set_outer_from_schema

datafusion/sql/src/planner.rs:366–372  ·  view source on GitHub ↗

Sets the outer FROM schema, returning the existing one, if any

(
        &mut self,
        mut schema: Option<DFSchemaRef>,
    )

Source from the content-addressed store, hash-verified

364
365 /// Sets the outer FROM schema, returning the existing one, if any
366 pub fn set_outer_from_schema(
367 &mut self,
368 mut schema: Option<DFSchemaRef>,
369 ) -> Option<DFSchemaRef> {
370 std::mem::swap(&mut self.outer_from_schema, &mut schema);
371 schema
372 }
373
374 /// Extends the FROM schema, returning the existing one, if any
375 pub fn extend_outer_from_schema(&mut self, schema: &DFSchemaRef) -> Result<()> {

Callers 3

plan_from_tablesMethod · 0.80
plan_table_with_joinsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected