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

Method Flatten

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

Source from the content-addressed store, hash-verified

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

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