Extends the FROM schema, returning the existing one, if any
(&mut self, schema: &DFSchemaRef)
| 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>] { |
no test coverage detected