| 1127 | bool may_rehash); |
| 1128 | |
| 1129 | Status Init() override { |
| 1130 | auto inputs = this->inputs(); |
| 1131 | for (size_t i = 0; i < inputs.size(); i++) { |
| 1132 | RETURN_NOT_OK(key_hashers_[i]->Init(plan()->query_context()->exec_context(), |
| 1133 | inputs[i]->output_schema())); |
| 1134 | ARROW_ASSIGN_OR_RAISE( |
| 1135 | auto input_state, |
| 1136 | InputState::Make(i, tolerance_, must_hash_, may_rehash_, key_hashers_[i].get(), |
| 1137 | inputs[i], this, backpressure_counter_, |
| 1138 | inputs[i]->output_schema(), indices_of_on_key_[i], |
| 1139 | indices_of_by_key_[i])); |
| 1140 | state_.push_back(std::move(input_state)); |
| 1141 | } |
| 1142 | |
| 1143 | col_index_t dst_offset = 0; |
| 1144 | for (auto& state : state_) |
| 1145 | dst_offset = state->InitSrcToDstMapping(dst_offset, !!dst_offset); |
| 1146 | |
| 1147 | return Status::OK(); |
| 1148 | } |
| 1149 | |
| 1150 | virtual ~AsofJoinNode() { |
| 1151 | #ifdef ARROW_ENABLE_THREADING |
nothing calls this directly
no test coverage detected