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

Function MakeArray

cpp/src/arrow/array/util.cc:299–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297} // namespace internal
298
299std::shared_ptr<Array> MakeArray(const std::shared_ptr<ArrayData>& data) {
300 std::shared_ptr<Array> out;
301 ArrayDataWrapper wrapper_visitor(data, &out);
302 DCHECK_OK(VisitTypeInline(*data->type, &wrapper_visitor));
303 DCHECK(out);
304 return out;
305}
306
307// ----------------------------------------------------------------------
308// Misc APIs

Callers 15

SetUpMethod · 0.70
FinishDeltaMethod · 0.70
ToArrayMethod · 0.70
SetDataMethod · 0.70
array_dict.ccFile · 0.70
TransposeMethod · 0.70
GetResultMethod · 0.70
UnifyMethod · 0.70
UnifyChunkedArrayMethod · 0.70
SetDataMethod · 0.70
MakeLogicalRunEndsFunction · 0.70

Calls 1

VisitTypeInlineFunction · 0.85

Tested by 15

SetUpMethod · 0.56
TEST_FFunction · 0.56
TEST_FFunction · 0.56
TYPED_TESTFunction · 0.56
TESTFunction · 0.56
DictExtensionFromJSONFunction · 0.56
TESTFunction · 0.56
TEST_PFunction · 0.56
ExampleParametricFunction · 0.40
ExampleStructFunction · 0.40