Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interpreter useless code removal #4860

Open
ywqzzy opened this issue May 11, 2022 · 0 comments · Fixed by #6219
Open

Interpreter useless code removal #4860

ywqzzy opened this issue May 11, 2022 · 0 comments · Fixed by #6219
Assignees
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@ywqzzy
Copy link
Contributor

ywqzzy commented May 11, 2022

Enhancement

There are many interpreter class from upstream clickhouse that are not used.
For code readability, It's better to drop all of them.

There are several types of interpreter class, they are listed as follow:

  1. SelectQuery
  2. AlterQuery
  3. DropQuery
  4. CreateQuery
  5. RenameQuery
  6. ManageQuery
  7. ShowTablesQuery
  8. OptimizeQuery Interpreter: Remove Optimize query. #4589
  9. TruncateQuery Interpreter: Remove Truncate query #4587
  10. TableProperties Interpreter: Remove Table properties query #4586
  11. CheckQuery Remove useless CheckQuery related files. #4569 Interpreter: Remove CheckQuery. #4568
  12. KillQUery Remove useless KillQuery related files. #4567 Interpreter: Remove kill Query #4564
  13. SystemQuery Interpreter: Remove system query #4590
  14. UseQuery
  15. SetQuery
  16. DeleteQuery Interpreter: Remove Optimize query. #4589
  17. DescribeQuery
  18. ExistQuery
  19. InsertQuery
  20. ShowProcesslist
@ywqzzy ywqzzy added the type/enhancement The issue or PR belongs to an enhancement. label May 11, 2022
@ywqzzy ywqzzy self-assigned this May 11, 2022
ti-chi-bot pushed a commit that referenced this issue May 11, 2022
ti-chi-bot pushed a commit that referenced this issue May 11, 2022
ti-chi-bot pushed a commit that referenced this issue May 12, 2022
ti-chi-bot pushed a commit that referenced this issue May 13, 2022
ti-chi-bot pushed a commit that referenced this issue Nov 1, 2022
@ywqzzy ywqzzy reopened this Nov 1, 2022
CalvinNeo pushed a commit to CalvinNeo/tiflash that referenced this issue Nov 4, 2022
close pingcap#4860

Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant