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