| 15 | namespace storage { |
| 16 | |
| 17 | static 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 | |
| 27 | ArrowNodeTable::ArrowNodeTable(const StorageManager* storageManager, |
| 28 | const catalog::NodeTableCatalogEntry* nodeTableEntry, MemoryManager* memoryManager, |
no outgoing calls
no test coverage detected