This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
InfluxDBClientError: 400 when calling delete_series with no filter parameter #666
Closed
Description
Using Influxdb 1.7.4, this
client = InfluxDBClient(HOST, database='test')
client.delete_series()
yields
influxdb.exceptions.InfluxDBClientError: 400: {"error":"error parsing query: found EOF, expected FROM, WHERE at line 1, char 13"}
Looks like either measurements
or tags
should be provided.
This is not explicit in the method documentation. Perhaps a note should be added in the docs, and an exception raised if no filter is passed.
Or if it is actually possible to delete all measurements at once in Influxdb, then I guess delete_series
ought to be fixed.
Or am I missing something?
Metadata
Metadata
Assignees
Labels
No labels