| 165 | } |
| 166 | |
| 167 | Result<std::shared_ptr<RecordBatch>> RemoveColumn(int i) const override { |
| 168 | ARROW_ASSIGN_OR_RAISE(auto new_schema, schema_->RemoveField(i)); |
| 169 | return RecordBatch::Make(std::move(new_schema), num_rows_, |
| 170 | internal::DeleteVectorElement(columns_, i), device_type_, |
| 171 | sync_event_); |
| 172 | } |
| 173 | |
| 174 | std::shared_ptr<RecordBatch> ReplaceSchemaMetadata( |
| 175 | const std::shared_ptr<const KeyValueMetadata>& metadata) const override { |
nothing calls this directly
no test coverage detected