Open
Description
Search before asking
- I had searched in the issues and found no similar issues.
Description
The current structure of the StmtExectuor class is very confusing. It contains too much logic, making it impossible to clearly view the execution process of a statement.
At the same time, it is tightly coupled with MysqlChannel
and ConnectionContext
, which causes a lot of irrelevant code to be mocked when other processes need to call this class.
So I plan to refactor this class to make its structure clearer and make it easier to add new logic later.
Solution
- Decoupling Profile and StmtExecutor ([Refactor](StmtExecutor)(step-1) Extract profile logic from StmtExecutor and Coordinator #19219)
- Decoupling MysqlChannel and StmtExecutor
- Decoupling InsertStmt and StmtExecutor
- Decoupling ConnectionContext and StmtExecutor
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels
Activity