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

Method HashBatch

cpp/src/arrow/compute/key_hash_internal.cc:466–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464}
465
466Status Hashing32::HashBatch(const ExecBatch& key_batch, uint32_t* hashes,
467 std::vector<KeyColumnArray>& column_arrays,
468 int64_t hardware_flags, util::TempVectorStack* temp_stack,
469 int64_t start_rows, int64_t num_rows) {
470 RETURN_NOT_OK(
471 ColumnArraysFromExecBatch(key_batch, start_rows, num_rows, &column_arrays));
472
473 LightContext ctx;
474 ctx.hardware_flags = hardware_flags;
475 ctx.stack = temp_stack;
476 HashMultiColumn(column_arrays, &ctx, hashes);
477 return Status::OK();
478}
479
480inline uint64_t Hashing64::Avalanche(uint64_t acc) {
481 acc ^= (acc >> 33);

Callers

nothing calls this directly

Calls 2

OKFunction · 0.50

Tested by

no test coverage detected