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

Function resizeFixedListVector

src/common/arrow/arrow_row_batch.cpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135static void resizeFixedListVector(ArrowVector* vector, const LogicalType& type, int64_t capacity,
136 bool fallbackExtensionTypes) {
137 resizeGeneric(vector, type, capacity, fallbackExtensionTypes);
138 std::vector<LogicalType> typeVec;
139 typeVec.push_back(ArrayType::getChildType(type).copy());
140 resizeChildVectors(vector, typeVec, vector->capacity * ArrayType::getNumElements(type),
141 fallbackExtensionTypes);
142}
143
144static void resizeListVector(ArrowVector* vector, const LogicalType& type, int64_t capacity,
145 int64_t childCapacity, bool fallbackExtensionTypes) {

Callers 1

resizeVectorFunction · 0.85

Calls 6

resizeGenericFunction · 0.85
getChildTypeFunction · 0.85
resizeChildVectorsFunction · 0.85
getNumElementsFunction · 0.85
push_backMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected