(
&self,
partition: usize,
_context: Arc<TaskContext>,
)
| 179 | |
| 180 | impl TestMemoryExec { |
| 181 | fn open( |
| 182 | &self, |
| 183 | partition: usize, |
| 184 | _context: Arc<TaskContext>, |
| 185 | ) -> Result<SendableRecordBatchStream> { |
| 186 | Ok(Box::pin( |
| 187 | MemoryStream::try_new( |
| 188 | self.partitions[partition].clone(), |
| 189 | Arc::clone(&self.projected_schema), |
| 190 | self.projection.clone(), |
| 191 | )? |
| 192 | .with_fetch(self.fetch), |
| 193 | )) |
| 194 | } |
| 195 | |
| 196 | fn compute_properties(&self) -> PlanProperties { |
| 197 | PlanProperties::new( |
no test coverage detected