(
&self,
_state: &dyn Session,
projection: Option<&Vec<usize>>,
_filters: &[Expr],
_limit: Option<usize>,
)
| 1153 | } |
| 1154 | |
| 1155 | async fn scan( |
| 1156 | &self, |
| 1157 | _state: &dyn Session, |
| 1158 | projection: Option<&Vec<usize>>, |
| 1159 | _filters: &[Expr], |
| 1160 | _limit: Option<usize>, |
| 1161 | ) -> Result<Arc<dyn ExecutionPlan>> { |
| 1162 | let mem_conf = MemorySourceConfig::try_new( |
| 1163 | &self.batches, |
| 1164 | self.schema(), |
| 1165 | projection.cloned(), |
| 1166 | )? |
| 1167 | .try_with_sort_information(self.sort_information.clone())?; |
| 1168 | |
| 1169 | Ok(DataSourceExec::from_data_source(mem_conf)) |
| 1170 | } |
| 1171 | } |
no test coverage detected