influxdata / influxdata/docs-v2
docs: Impossible to get two values in one row with "duplicate-points" example query
@mluu12 is already working on this.
Since Aug 3, 2021.
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 326
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Description
The page https://docs.influxdata.com/influxdb/v2.0/write-data/best-practices/duplicate-points/ describes how to write 2 values in the database with flux. But the returned values look completely different for me. Instead of one row with two values dnsLookup and firstByte, I get two rows:
_time _measurement host region _value _field
-------------------- ------------ ----- ------- ------ ---------
2019-05-31T00:00:00Z web host2 us_west 7 dnsLookup
2019-05-31T00:00:00Z web host2 us_west 15 firstByte
Instead of what is shown in the page
_time _measurement host region dnsLookup firstByte
-------------------- ------------ ----- ------- --------- ---------
2019-05-31T00:00:00Z web host2 us_west 7 15
Either the implicit join is not working or the example is missing an explicit join of the two rows.
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.
Assessment
This issue has not been assessed yet.