influxdata / influxdata/influx-cli
influx query: add the ability to run an influxql query
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
our query api for cloud supports influxql queries: https://docs.influxdata.com/influxdb/cloud/api/#operation/PostQuery
this issue would update the `influx query` command to include an explicit `--type` flag which would default to `flux`. When set to `influxql` it would interpret the query or the file as an influxql query and send it accordingly.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the implementation and tests for the `influx query` command, then compare its request handling with the linked InfluxDB Cloud PostQuery API documentation. The work is done when an explicit `--type` option defaults to `flux`, accepts `influxql`, and sends either inline queries or file contents using the corresponding query type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100