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

Method ComputeNonNullCount

be/src/exprs/valid-tuple-id.cc:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45int ValidTupleIdExpr::ComputeNonNullCount(const TupleRow* row, int num_tuples) {
46 int non_null_count = 0;
47 for (int i = 0; i < num_tuples; ++i) non_null_count += (row->GetTuple(i) != nullptr);
48 return non_null_count;
49}
50
51IntVal ValidTupleIdExpr::GetIntValInterpreted(
52 ScalarExprEvaluator* eval, const TupleRow* row) const {

Callers

nothing calls this directly

Calls 1

GetTupleMethod · 0.45

Tested by

no test coverage detected