planner: automatically mark invalid bindings
Open
component/spm
epic/sql-plan-management
sig/planner
type/feature-request
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Feature Request
**Is your feature request related to a problem? Please describe:**
Bindings might become invalid due to schema changes, for users with massive bindings, we should be able to help them mark invalid bindings automatically:
**Describe the feature you'd like:**
Add a new column like `valid` in `mysql.bind_info` to indicate whether this binding is valid or not.
For users, they can more easily delete these invalid bindings.
**Describe alternatives you've considered:**
**Teachability, Documentation, Adoption, Migration Strategy:**
Contributor guide
Assessment
This issue has not been assessed yet.