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

Method ValidateMatch

be/src/exec/hash-table-test.cc:185–192  ·  view source on GitHub ↗

Validate that probe_row evaluates overs probe_exprs is equal to build_row evaluated over build_exprs

Source from the content-addressed store, hash-verified

183 // Validate that probe_row evaluates overs probe_exprs is equal to build_row
184 // evaluated over build_exprs
185 void ValidateMatch(TupleRow* probe_row, TupleRow* build_row) {
186 EXPECT_TRUE(probe_row != build_row);
187 int32_t build_val =
188 *reinterpret_cast<int32_t*>(build_expr_evals_[0]->GetValue(probe_row));
189 int32_t probe_val =
190 *reinterpret_cast<int32_t*>(probe_expr_evals_[0]->GetValue(build_row));
191 EXPECT_EQ(build_val, probe_val);
192 }
193
194 struct ProbeTestData {
195 TupleRow* probe_row;

Callers

nothing calls this directly

Calls 1

GetValueMethod · 0.45

Tested by

no test coverage detected