influxdata / influxdata/influx-cli
Influx Query: Inconsistent org requirement or missing error message
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 75
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Current behavior:
I have a influxd db with two bucket. Both bucket have similar data. One for continius data and one for tests.
When I query the test bucket I get the result. When I query the normal bucket I get no result for complex queries.
When I only query range without any filter or use of any importet functions I get an error.
"Error: must specify org ID or org name"
If I specify the org, both buckets work!
Desired behavior:
- The query should work equal for both bucket
- "Error: must specify org ID or org name" also for queries with filter or use of funktions like "influxdb.cardinality"
To Reproduce
.\influx query -r -t mytoken
from(bucket: "MyBucket_Debug") |> range(start: -10m)
.\influx query -r -t mytoken
from(bucket: "MyBucket") |> range(start: -10m)
Error: must specify org ID or org name
Version
InfluxDB v2.6 on Windows 10
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 with the influx query command and reproduce both queries against the two buckets using InfluxDB v2.6 on Windows 10. Compare the behavior with and without -r and with imported functions; done means both buckets behave consistently and queries that require an organization report "must specify org ID or org name".
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100