Adapt the given record batch to match the target schema. The input batch *must* conform to the source schema used when creating this adapter.
(&self, batch: &RecordBatch)
| 619 | /// The input batch *must* conform to the source schema used when |
| 620 | /// creating this adapter. |
| 621 | pub fn adapt_batch(&self, batch: &RecordBatch) -> Result<RecordBatch> { |
| 622 | self.projector.project_batch(batch) |
| 623 | } |
| 624 | } |
| 625 | |
| 626 | #[cfg(test)] |