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

Method PostDecode

cpp/src/arrow/acero/hash_join_dict.cc:555–568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

553}
554
555Status HashJoinDictBuildMulti::PostDecode(
556 const SchemaProjectionMaps<HashJoinProjection>& proj_map,
557 ExecBatch* decoded_key_batch, ExecContext* ctx) {
558 // Post process build side keys that use dictionary
559 int num_keys = proj_map.num_cols(HashJoinProjection::KEY);
560 for (int i = 0; i < num_keys; ++i) {
561 if (needs_remap_[i]) {
562 ARROW_ASSIGN_OR_RAISE(
563 decoded_key_batch->values[i],
564 remap_imp_[i].RemapOutput(*decoded_key_batch->values[i].array(), ctx));
565 }
566 }
567 return Status::OK();
568}
569
570void HashJoinDictProbeMulti::Init(size_t num_threads) {
571 local_states_.resize(num_threads);

Callers 1

ProbeBatch_OutputOneMethod · 0.45

Calls 5

num_colsMethod · 0.80
RemapOutputMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.70
OKFunction · 0.50
arrayMethod · 0.45

Tested by

no test coverage detected