This function returns all `Arc `s inside the given `PhysicalSortExpr` sequence.
(
sequence: impl IntoIterator<Item = T>,
)
| 192 | /// This function returns all `Arc<dyn PhysicalExpr>`s inside the given |
| 193 | /// `PhysicalSortExpr` sequence. |
| 194 | pub fn convert_to_expr<T: Borrow<PhysicalSortExpr>>( |
| 195 | sequence: impl IntoIterator<Item = T>, |
| 196 | ) -> Vec<Arc<dyn PhysicalExpr>> { |
| 197 | sequence |
| 198 | .into_iter() |
| 199 | .map(|elem| Arc::clone(&elem.borrow().expr)) |
| 200 | .collect() |
| 201 | } |
| 202 | |
| 203 | /// This function finds the indices of `targets` within `items` using strict |
| 204 | /// equality. |