| 290 | } |
| 291 | |
| 292 | bool ArrowResultCollector::fillRowBatch(ArrowRowBatch& rowBatch) { |
| 293 | while (rowBatch.size() < info.chunkSize) { |
| 294 | localState.fillTuple(); |
| 295 | updateCSRMetadata(info.csrTrackingInfo, *localState.tuple, localState); |
| 296 | rowBatch.append(*localState.tuple); |
| 297 | if (!localState.advance()) { |
| 298 | return false; |
| 299 | } |
| 300 | } |
| 301 | return true; |
| 302 | } |
| 303 | |
| 304 | void ArrowResultCollector::initLocalStateInternal(ResultSet* resultSet, ExecutionContext*) { |
| 305 | // Assign a unique batch_index for this local collector. The atomic |
nothing calls this directly
no test coverage detected