MCPcopy Create free account
hub / github.com/apache/impala / FOREACH_ROW_LIMIT

Function FOREACH_ROW_LIMIT

be/src/exec/union-node-ir.cc:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 int num_rows_to_process = std::min(child_batch->num_rows() - child_row_idx_,
45 dst_batch->capacity() - dst_batch->num_rows());
46 FOREACH_ROW_LIMIT(child_batch, child_row_idx_, num_rows_to_process, batch_iter) {
47 TupleRow* child_row = batch_iter.Get();
48 MaterializeExprs(child_expr_evals, child_row, cur_tuple, dst_batch);
49 cur_tuple += tuple_byte_size;
50 }
51
52 child_row_idx_ += num_rows_to_process;
53 *tuple_buf = cur_tuple;

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected