[CP] fix px ordered coord rescan bug

This commit is contained in:
sdc
2024-01-10 02:53:56 +00:00
committed by ob-robot
parent 52399bff0e
commit 21dae8c5ff
3 changed files with 11 additions and 1 deletions

View File

@ -464,6 +464,15 @@ int ObPxOrderedCoordOp::next_rows(ObReceiveRowReader &reader, int64_t max_row_cn
return ret;
}
int ObPxOrderedCoordOp::inner_rescan()
{
finish_ch_cnt_ = 0;
all_rows_finish_ = false;
destroy_readers();
int ret = ObPxCoordOp::inner_rescan();
return ret;
}
int ObPxOrderedCoordOp::receive_channel_root_dfo(ObExecContext &ctx,
ObDfo &parent,
ObPxTaskChSets &parent_ch_sets)

View File

@ -105,6 +105,7 @@ public:
public:
virtual int inner_open() override;
virtual void destroy() override;
virtual int inner_rescan() override;
virtual int inner_close() override;
virtual int inner_get_next_row() override;