-
Notifications
You must be signed in to change notification settings - Fork 383
Should self hosted cluster support deletes? #6174
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
Comments
@NickyHeuperman Hi. The delete operation is supported https://docs.greptime.com/reference/sql/delete/ Are you trying to delete data from the metrics tables written by Prometheus remote write? Sorry, currently logical tables cannot be deleted—you need to delete from the physical tables instead, specifically from |
To delete the delete from greptime_physical_table where __table_id in
(select table_id from information_schema.tables where table_name='prometheus_build_info'); This query retrieves the |
Can I filter by time range here then? And/or tags? |
Of course you can. mysql> select table_id from information_schema.tables where table_name='prometheus_build_info';
+----------+
| table_id |
+----------+
| 1374 |
+----------+
1 row in set (0.03 sec) Which is
|
What type of bug is this?
Incorrect result
What subsystems are affected?
Query Engine
Minimal reproduce step
I'm trying to delete data from a table, I'm howver met with the following error:
Unsupported region request: Delete
Is there something I need to enable? Or are deletes simply not supported self hosted?
What did you expect to see?
Rows being deleted
What did you see instead?
Unsupported region request: Delete
What operating system did you use?
Docker
What version of GreptimeDB did you use?
0.14.3
Relevant log output and stack trace
The text was updated successfully, but these errors were encountered: