-
Notifications
You must be signed in to change notification settings - Fork 187
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
A bug is delete_api. #168
Comments
I identified the bug. It's mentioned here: https://docs.influxdata.com/influxdb/v2.0/reference/syntax/delete-predicate/ I also tried to add a branch with the fixed issue, but got the following error:
|
Hi @snenkov, thanks for using our client. You could use something like: start = "1970-01-01T00:00:00Z"
stop = "2021-01-01T00:00:00Z"
delete_api = client.delete_api()
delete_api.delete(start, stop, '_measurement="sensorData"', bucket_id=bucket_id, org_id=organization_id) The In Regards |
Related issue: influxdata/influxdb#19635 |
Sure, but it's a matter of changing the string as per the docs from
To
Right? |
I think the doc is not clear. As I see in sources the We have tests for
You have to fork this repository and create PR from your repo. |
Hi, I bumped into this issue while working with |
@Fahien please vote for influxdata/influxdb#19635 |
The issue influxdata/influxdb#19635 is fixed, please update InfluxDB to https://github.com/influxdata/influxdb/blob/master/CHANGELOG.md#v203-2020-12-14 |
I don't see a way that I can delete a measurement from a bucket (I can see how to delete a whole bucket).
Can you please show how? I am sure that's possible : )
I tried to follow the advice here:
https://community.influxdata.com/t/delete-measurements-by-name-from-bucket/15060
But I get an error in the form of:
The text was updated successfully, but these errors were encountered: