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

Method Flatten

cpp/src/arrow/array/array_nested.cc:570–572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570Result<std::shared_ptr<Array>> ListArray::Flatten(MemoryPool* memory_pool) const {
571 return FlattenListArray(*this, memory_pool);
572}
573
574std::shared_ptr<Array> ListArray::offsets() const { return BoxOffsets(int32(), *data_); }
575

Callers 4

TestFlattenSimpleMethod · 0.45
TESTFunction · 0.45
GetTableMethod · 0.45

Calls 5

FlattenListArrayFunction · 0.85
resizeMethod · 0.80
null_countFunction · 0.70
ARROW_ASSIGN_OR_RAISEFunction · 0.50
sizeMethod · 0.45

Tested by 3

TestFlattenSimpleMethod · 0.36
TESTFunction · 0.36
GetTableMethod · 0.36