I think it's better for the plan decoding process inside the grpc interface so that we can detect failure as quickly as possible. And it's kind of meaningless to send a task with an illegal plan to the channel for future processing.
What changes are included in this PR?
The patch of #743 is reverted
The encoded execution plan in the TaskDefinition is changed to the decoded one.
The error handling of run_task in the executor_server is refined
Which issue does this PR close?
Closes #793.
Rationale for this change
I think it's better for the plan decoding process inside the grpc interface so that we can detect failure as quickly as possible. And it's kind of meaningless to send a task with an illegal plan to the channel for future processing.
What changes are included in this PR?
TaskDefinition
is changed to the decoded one.Are there any user-facing changes?