(&self)
| 430 | note = "Use column_indices() instead. This method will be removed in 58.0.0 or 6 months after 52.0.0 is released, whichever comes first." |
| 431 | )] |
| 432 | pub fn ordered_column_indices(&self) -> Vec<usize> { |
| 433 | self.exprs |
| 434 | .iter() |
| 435 | .map(|e| { |
| 436 | e.expr |
| 437 | .downcast_ref::<Column>() |
| 438 | .expect("Expected column reference in projection") |
| 439 | .index() |
| 440 | }) |
| 441 | .collect() |
| 442 | } |
| 443 | |
| 444 | /// Project a schema according to this projection. |
| 445 | /// |
no test coverage detected