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

Method MakeArray

python/pyarrow/src/arrow/python/extension_type.cc:138–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138std::shared_ptr<Array> PyExtensionType::MakeArray(std::shared_ptr<ArrayData> data) const {
139 ARROW_DCHECK_EQ(data->type->id(), Type::EXTENSION);
140 return std::make_shared<ExtensionArray>(data);
141}
142
143std::string PyExtensionType::Serialize() const {
144 ARROW_DCHECK(type_instance_);

Callers

nothing calls this directly

Calls 1

idMethod · 0.45

Tested by

no test coverage detected