MCPcopy Create free account
hub / github.com/apache/arrow / ComputeHash

Method ComputeHash

cpp/src/arrow/compute/expression.cc:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52namespace compute {
53
54void Expression::Call::ComputeHash() {
55 hash = std::hash<std::string>{}(function_name);
56 for (const auto& arg : arguments) {
57 arrow::internal::hash_combine(hash, arg.hash());
58 }
59}
60
61Expression::Expression(Call call) {
62 call.ComputeHash();

Callers 1

ExpressionMethod · 0.45

Calls 2

hash_combineFunction · 0.85
hashMethod · 0.45

Tested by

no test coverage detected