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

Method EvalAndHashBuild

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

Source from the content-addressed store, hash-verified

23namespace impala {
24
25inline bool HashTableCtx::EvalAndHashBuild(const TupleRow* row) {
26 uint8_t* expr_values = expr_values_cache_.cur_expr_values();
27 uint8_t* expr_values_null = expr_values_cache_.cur_expr_values_null();
28 bool has_null = EvalBuildRow(row, expr_values, expr_values_null);
29 if (!stores_nulls() && has_null) return false;
30 expr_values_cache_.SetCurExprValuesHash(HashRow(expr_values, expr_values_null));
31 return true;
32}
33
34inline bool HashTableCtx::EvalAndHashProbe(const TupleRow* row) {
35 uint8_t* expr_values = expr_values_cache_.cur_expr_values();

Callers 9

FOREACH_ROW_LIMITFunction · 0.80
ProcessBuildBatchMethod · 0.80
FOREACH_ROW_LIMITFunction · 0.80
NullBuildRowTestMethod · 0.80
BasicTestMethod · 0.80
ScanTestMethod · 0.80
GrowTableTestMethod · 0.80
InsertFullTestMethod · 0.80
BuildFunction · 0.80

Calls 3

cur_expr_valuesMethod · 0.80
cur_expr_values_nullMethod · 0.80
SetCurExprValuesHashMethod · 0.80

Tested by 5

NullBuildRowTestMethod · 0.64
BasicTestMethod · 0.64
ScanTestMethod · 0.64
GrowTableTestMethod · 0.64
InsertFullTestMethod · 0.64