MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getArrowBatchLength

Function getArrowBatchLength

src/storage/table/arrow_node_table.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace storage {
16
17static uint64_t getArrowBatchLength(const ArrowArrayWrapper& array) {
18 if (array.length > 0) {
19 return array.length;
20 }
21 if (array.n_children > 0 && array.children && array.children[0]) {
22 return array.children[0]->length;
23 }
24 return 0;
25}
26
27ArrowNodeTable::ArrowNodeTable(const StorageManager* storageManager,
28 const catalog::NodeTableCatalogEntry* nodeTableEntry, MemoryManager* memoryManager,

Callers 5

ArrowNodeTableMethod · 0.70
scanInternalMethod · 0.70
getBatchSizesMethod · 0.70
getNumScanMorselsMethod · 0.70
lookupPKMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected