The ScalarSubquery of the FlatPlan may not be cleared in time
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
Currently, it's possible that a statement reads the ScalarSubquery belongs to previous statement.
We will add examples in comments
Contributor guide
Research direction
No file, test, or entry point is named. Start by locating FlatPlan and ScalarSubquery in the TiDB codebase, then investigate how a statement can read a ScalarSubquery from a previous statement. Done should include a confirmed lifecycle fix and the examples in comments mentioned by the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100