| 130 | } |
| 131 | |
| 132 | Status SelectionVector::MakeImmutableInt32( |
| 133 | int64_t num_slots, std::shared_ptr<arrow::Buffer> buffer, |
| 134 | std::shared_ptr<SelectionVector>* selection_vector) { |
| 135 | *selection_vector = |
| 136 | std::make_shared<SelectionVectorInt32>(num_slots, num_slots, buffer); |
| 137 | return Status::OK(); |
| 138 | } |
| 139 | |
| 140 | Status SelectionVector::MakeInt64(int64_t max_slots, |
| 141 | std::shared_ptr<arrow::Buffer> buffer, |