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