It's caused by the #743. Only unchanged things can be shared. However, the execution plan is not. Its metrics will be changed during task execution. Since the decoded execution plan is directly shared by multiple tasks, the plan metrics is also shared across multiple tasks, which is not correct.
Describe the bug
It's caused by the #743. Only unchanged things can be shared. However, the execution plan is not. Its metrics will be changed during task execution. Since the decoded execution plan is directly shared by multiple tasks, the plan metrics is also shared across multiple tasks, which is not correct.
To Reproduce
Expected behavior
Additional context