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

Method GetChunkLengths

cpp/src/arrow/compute/kernels/chunked_internal.cc:35–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35std::vector<int64_t> ChunkedIndexMapper::GetChunkLengths(
36 std::span<const Array* const> chunks) {
37 std::vector<int64_t> chunk_lengths(chunks.size());
38 for (int64_t i = 0; i < static_cast<int64_t>(chunks.size()); ++i) {
39 chunk_lengths[i] = chunks[i]->length();
40 }
41 return chunk_lengths;
42}
43
44std::vector<int64_t> ChunkedIndexMapper::GetChunkLengths(
45 const RecordBatchVector& chunks) {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
lengthMethod · 0.45
num_rowsMethod · 0.45

Tested by

no test coverage detected