influxdata / influxdata/influxdb
CLI Delete with parentheses in tag value
- Dominant language
- Rust
- Stars
- 31.7k
- Forks
- 3.7k
- Avg merge
- 13h 37m
- Merged PRs (30d)
- 8
Description
__Steps to reproduce:__
List the minimal actions needed to reproduce the behavior.
1. Use CLI to attempt to delete a series with a tag
__Expected behavior:__
Deletion successful.
__Actual behavior:__
--predicate 'stationName="(New)"'
Error: failed to delete data: 400 Bad Request: invalid request; error parsing request json: bad tag value: "", at position 12
--predicate 'stationName="Saucy(asdf)"'
Error: failed to delete data: 400 Bad Request: invalid request; error parsing request json: invalid operator ")" at position: 22
__Environment info:__
* System info: Windows 10 influx cli exe, v2.2.0
* InfluxDB version: 2.1 cloud
* Other relevant environment details: Container runtime, disk info, etc
__Config:__
Copy any non-default config values here or attach the full config as a gist or file.
Contributor guide
Research direction
Start by reproducing the CLI delete path from the issue using predicates whose tag values contain parentheses, on the reported Windows and InfluxDB versions if available. Trace the predicate parsing or request-building entry point and add coverage for both examples; done means both deletions succeed without the reported parsing errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100