| 21 | using namespace impala; |
| 22 | |
| 23 | void IR_ALWAYS_INLINE UnionNode::MaterializeExprs( |
| 24 | const vector<ScalarExprEvaluator*>& evals, TupleRow* row, uint8_t* tuple_buf, |
| 25 | RowBatch* dst_batch) { |
| 26 | DCHECK(!dst_batch->AtCapacity()); |
| 27 | Tuple* dst_tuple = reinterpret_cast<Tuple*>(tuple_buf); |
| 28 | TupleRow* dst_row = dst_batch->GetRow(dst_batch->AddRow()); |
| 29 | dst_tuple->MaterializeExprs<false, false>(row, *tuple_desc_, evals, |
| 30 | dst_batch->tuple_data_pool()); |
| 31 | dst_row->SetTuple(0, dst_tuple); |
| 32 | dst_batch->CommitLastRow(); |
| 33 | } |
| 34 | |
| 35 | void UnionNode::MaterializeBatch(RowBatch* dst_batch, uint8_t** tuple_buf) { |
| 36 | // Take all references to member variables out of the loop to reduce the number of |
nothing calls this directly
no test coverage detected