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

Method chunks

cpp/src/arrow/datum.cc:165–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165ArrayVector Datum::chunks() const {
166 if (!this->is_arraylike()) {
167 return {};
168 }
169 if (this->is_array()) {
170 return {this->make_array()};
171 }
172 return this->chunked_array()->chunks();
173}
174
175DeviceAllocationTypeSet Datum::device_types() const {
176 switch (kind()) {

Callers 15

test_chunksMethod · 0.45
test_sliceMethod · 0.45
dump_tableMethod · 0.45
ConvertMethod · 0.45
DecodeDictionariesFunction · 0.45
ConvertColumnsToTensorFunction · 0.45
ConcatenateTablesFunction · 0.45
GetChildMethod · 0.45

Calls 3

make_arrayMethod · 0.95
is_arrayMethod · 0.80
chunked_arrayMethod · 0.80

Tested by 15

test_chunksMethod · 0.36
test_sliceMethod · 0.36
dump_tableMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
ExtractFieldFunction · 0.36
ValidateOutputImplFunction · 0.36
TYPED_TESTFunction · 0.36
NaiveQuantileMethod · 0.36
DoCheckTakeCACWithArraysFunction · 0.36