| 150 | } |
| 151 | |
| 152 | static void resizeStructVector(ArrowVector* vector, const LogicalType& type, int64_t capacity, |
| 153 | bool fallbackExtensionTypes) { |
| 154 | resizeGeneric(vector, type, capacity, fallbackExtensionTypes); |
| 155 | std::vector<LogicalType> typeVec; |
| 156 | for (auto i : StructType::getFieldTypes(type)) { |
| 157 | typeVec.push_back(i->copy()); |
| 158 | } |
| 159 | resizeChildVectors(vector, typeVec, vector->capacity, fallbackExtensionTypes); |
| 160 | } |
| 161 | |
| 162 | static void resizeUnionVector(ArrowVector* vector, const LogicalType& type, int64_t capacity, |
| 163 | bool fallbackExtensionTypes) { |
no test coverage detected