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

TRUNCATE TABLE on distributed #2819

Open
5 tasks
donhardman opened this issue Dec 5, 2024 · 0 comments
Open
5 tasks

TRUNCATE TABLE on distributed #2819

donhardman opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels

Comments

@donhardman
Copy link
Contributor

Bug Description:

We support DELETE operations on distributed tables, while TRUNCATE is not supported. It should be relatively easy to implement TRUNCATE, and we should add support for it.

MRE:

mysql> create table dist type='distributed' local='test';
mysql> truncate table dist;
ERROR 1064 (42000): TRUNCATE RTINDEX requires an existing RT table
mysql> delete from dist where id > 0;
mysql>

Manticore Search Version:

Latest dev version

Operating System Version:

Ubuntu Jammy

Have you tried the latest development version?

None

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants