MCPcopy Create free account
hub / github.com/apache/arrow / MakeArray

Method MakeArray

cpp/src/arrow/testing/gtest_util.cc:843–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

841}
842
843std::shared_ptr<Array> ExampleUuidType::MakeArray(std::shared_ptr<ArrayData> data) const {
844 DCHECK_EQ(data->type->id(), Type::EXTENSION);
845 DCHECK_EQ("uuid", static_cast<const ExtensionType&>(*data->type).extension_name());
846 return std::make_shared<ExampleUuidArray>(data);
847}
848
849Result<std::shared_ptr<DataType>> ExampleUuidType::Deserialize(
850 std::shared_ptr<DataType> storage_type, const std::string& serialized) const {

Callers

nothing calls this directly

Calls 3

ExtensionEqualsFunction · 0.85
idMethod · 0.45
extension_nameMethod · 0.45

Tested by

no test coverage detected