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

Method MaterializeExprs

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

Source from the content-addressed store, hash-verified

21using namespace impala;
22
23void 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
35void 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

Callers

nothing calls this directly

Calls 6

tuple_data_poolMethod · 0.80
CommitLastRowMethod · 0.80
AtCapacityMethod · 0.45
GetRowMethod · 0.45
AddRowMethod · 0.45
SetTupleMethod · 0.45

Tested by

no test coverage detected