let plan replayer sql return proper information even when it meets error
Open
sig/planner
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
For now, if the plan replayer meets an error, it would return an error. For example:
```sql
create table t(a int primary key, b int);
insert into t select 1,1;
plan replayer dump explain analyze insert into t select 1,1;
```
```
ERROR 1062 (23000): Duplicate entry '1' for key 't.PRIMARY'
```
The better behavior is to always return the plan replayer dump file, and record the error properly in that.
Contributor guide
Assessment
This issue has not been assessed yet.