Wrong function in docs (#4180)
sum() function has an incorrect example. Pointed out by community user : https://community.influxdata.com/t/sum-function-documentation/25631pull/4160/head^2
parent
b93e8161b2
commit
5cd87a623e
|
@ -63,7 +63,7 @@ Input data. Default is piped-forward data (`<-`).
|
|||
import "sampledata"
|
||||
|
||||
sampledata.int()
|
||||
|> stddev()
|
||||
|> sum()
|
||||
|
||||
```
|
||||
|
||||
|
@ -93,13 +93,14 @@ sampledata.int()
|
|||
|
||||
#### Output data
|
||||
|
||||
| *tag | _value |
|
||||
| ---- | ----------------- |
|
||||
| t1 | 7.063993204979744 |
|
||||
| *tag | _value |
|
||||
| ---- | ------- |
|
||||
| t1 | 51 |
|
||||
|
||||
| *tag | _value |
|
||||
| ---- | ------- |
|
||||
| t2 | 53 |
|
||||
|
||||
| *tag | _value |
|
||||
| ---- | ----------------- |
|
||||
| t2 | 9.474527252938094 |
|
||||
|
||||
{{% /expand %}}
|
||||
{{< /expand-wrapper >}}
|
||||
|
|
Loading…
Reference in New Issue