Skip to content

Interpreter & Executor & MPP unit test framework #4609

@ywqzzy

Description

@ywqzzy

Enhancement

  1. Since there is no unit test for the Interpreter module, Interpreter test framework aims to supplement the content of the unit test, improve the stability of the module, and find more hidden bugs at home.
  2. TiFlash planner needs to rely on unit tests to ensure the quality and progress of development during the refactoring process.
  3. User can mock input columns and feed them into the "Execution streams(BlockInputStreams in TiFlash)", then they can test executors(except MPP related logic) of TiFlash locally.
  4. Further more, MPP related tests will be supported.
  5. When developing more features in the future, good unit testing can be used as the basis for development to further improve the efficiency and quality of code development.

Non MPP tests development progress:

MPP tests development progress:

Run with storage layer

Feel free to ask me anything about the Test Framework.

Metadata

Metadata

Labels

component/computecomponent/coprocessorcomponent/mppgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.type/enhancementThe issue or PR belongs to an enhancement.type/testingIssue or PR for testing

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions