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

Method extend_outer_from_schema

datafusion/sql/src/planner.rs:375–381  ·  view source on GitHub ↗

Extends the FROM schema, returning the existing one, if any

(&mut self, schema: &DFSchemaRef)

Source from the content-addressed store, hash-verified

373
374 /// Extends the FROM schema, returning the existing one, if any
375 pub fn extend_outer_from_schema(&mut self, schema: &DFSchemaRef) -> Result<()> {
376 match self.outer_from_schema.as_mut() {
377 Some(from_schema) => Arc::make_mut(from_schema).merge(schema),
378 None => self.outer_from_schema = Some(Arc::clone(schema)),
379 };
380 Ok(())
381 }
382
383 /// Return the types of parameters (`$1`, `$2`, etc) if known
384 pub fn prepare_param_data_types(&self) -> &[Option<FieldRef>] {

Callers 1

plan_table_with_joinsMethod · 0.80

Calls 1

mergeMethod · 0.45

Tested by

no test coverage detected