| 87 | } |
| 88 | |
| 89 | InMemoryFragment::InMemoryFragment(std::shared_ptr<Schema> schema, |
| 90 | RecordBatchVector record_batches, |
| 91 | compute::Expression partition_expression) |
| 92 | : Fragment(std::move(partition_expression), std::move(schema)), |
| 93 | record_batches_(std::move(record_batches)) { |
| 94 | DCHECK_NE(given_physical_schema_, nullptr); |
| 95 | physical_schema_ = given_physical_schema_; |
| 96 | } |
| 97 | |
| 98 | InMemoryFragment::InMemoryFragment(RecordBatchVector record_batches, |
| 99 | compute::Expression partition_expression) |