| 29 | } |
| 30 | |
| 31 | std::shared_ptr<Array> UuidType::MakeArray(std::shared_ptr<ArrayData> data) const { |
| 32 | DCHECK_EQ(data->type->id(), Type::EXTENSION); |
| 33 | DCHECK_EQ("arrow.uuid", |
| 34 | static_cast<const ExtensionType&>(*data->type).extension_name()); |
| 35 | return std::make_shared<UuidArray>(data); |
| 36 | } |
| 37 | |
| 38 | Result<std::shared_ptr<DataType>> UuidType::Deserialize( |
| 39 | std::shared_ptr<DataType> storage_type, const std::string& serialized) const { |
nothing calls this directly
no test coverage detected