| 187 | } |
| 188 | |
| 189 | Status UnpivotNode::Reset(RuntimeState* state, RowBatch* row_batch) { |
| 190 | if (child_row_batch_ != nullptr) { |
| 191 | child_row_batch_->Reset(); |
| 192 | } |
| 193 | child_row_idx_ = 0; |
| 194 | unpivot_slot_idx_ = 0; |
| 195 | child_eos_ = false; |
| 196 | return ExecNode::Reset(state, row_batch); |
| 197 | } |
| 198 | |
| 199 | void UnpivotNode::Close(RuntimeState* state) { |
| 200 | if (is_closed()) return; |