| 46 | } |
| 47 | |
| 48 | std::shared_ptr<Array> Bool8Type::MakeArray(std::shared_ptr<ArrayData> data) const { |
| 49 | DCHECK_EQ(data->type->id(), Type::EXTENSION); |
| 50 | DCHECK_EQ("arrow.bool8", |
| 51 | internal::checked_cast<const ExtensionType&>(*data->type).extension_name()); |
| 52 | return std::make_shared<Bool8Array>(data); |
| 53 | } |
| 54 | |
| 55 | Result<std::shared_ptr<DataType>> Bool8Type::Make() { |
| 56 | return std::make_shared<Bool8Type>(); |
nothing calls this directly
no test coverage detected