| 16 | |
| 17 | template<typename Func> |
| 18 | static void rowIter(const ValueVector& outputVector, uint64_t count, Func&& func) { |
| 19 | // Use sel_vector only if it is unfiltered. For copying the first n elements, count param should |
| 20 | // be used instead |
| 21 | if (outputVector.state != nullptr && !outputVector.state->getSelVector().isUnfiltered()) { |
| 22 | outputVector.state->getSelVector().forEach(func); |
| 23 | } else { |
| 24 | for (uint64_t i = 0; i < count; i++) { |
| 25 | func(i); |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | template<typename T> |
| 31 | static void scanArrowArrayFixedSizePrimitive(const ArrowArray* array, ValueVector& outputVector, |
no test coverage detected