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

Method EvalAndHashProbe

be/src/exec/hash-table.inline.h:34–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34inline bool HashTableCtx::EvalAndHashProbe(const TupleRow* row) {
35 uint8_t* expr_values = expr_values_cache_.cur_expr_values();
36 uint8_t* expr_values_null = expr_values_cache_.cur_expr_values_null();
37 bool has_null = EvalProbeRow(row, expr_values, expr_values_null);
38 if (has_null && !(stores_nulls() && finds_some_nulls())) return false;
39 expr_values_cache_.SetCurExprValuesHash(HashRow(expr_values, expr_values_null));
40 return true;
41}
42
43inline void HashTableCtx::ExprValuesCache::NextRow() {
44 cur_expr_values_ += expr_values_bytes_per_row_;

Callers 6

FOREACH_ROW_LIMITFunction · 0.80
FOREACH_ROW_LIMITFunction · 0.80
ProbeTestMethod · 0.80
GrowTableTestMethod · 0.80
InsertFullTestMethod · 0.80
ProbeFunction · 0.80

Calls 3

cur_expr_valuesMethod · 0.80
cur_expr_values_nullMethod · 0.80
SetCurExprValuesHashMethod · 0.80

Tested by 3

ProbeTestMethod · 0.64
GrowTableTestMethod · 0.64
InsertFullTestMethod · 0.64