clear ddl checksum of source table and dest table before retry execution.

This commit is contained in:
obdev
2023-09-11 10:44:10 +00:00
committed by ob-robot
parent 79c21dd9c5
commit 3f04abacab
4 changed files with 31 additions and 9 deletions

View File

@ -2678,7 +2678,7 @@ int ObTableScanOp::report_ddl_column_checksum()
item.table_id_ = table_id;
item.ddl_task_id_ = MY_SPEC.plan_->get_ddl_task_id();
item.column_id_ = MY_SPEC.ddl_output_cids_.at(i) & VIRTUAL_GEN_FIXED_LEN_MASK;
item.task_id_ = ctx_.get_px_sqc_id() << 48 | ctx_.get_px_task_id() << 32 | curr_scan_task_id;
item.task_id_ = ctx_.get_px_sqc_id() << ObDDLChecksumItem::PX_SQC_ID_OFFSET | ctx_.get_px_task_id() << ObDDLChecksumItem::PX_TASK_ID_OFFSET | curr_scan_task_id;
item.checksum_ = i < column_checksum_.count() ? column_checksum_[i] : 0;
#ifdef ERRSIM
if (OB_SUCC(ret)) {