mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update docs/en/sql-reference/aggregate-functions/reference/exponentialmovingaverage.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
This commit is contained in:
parent
8dfb221a32
commit
2d5c399cbc
@ -15,6 +15,7 @@ exponentialMovingAverage(x)(value, timestamp)
|
||||
Each `value` corresponds to the determinate `timestamp`. The half-decay period is the time interval `x` during which the previous values are taken into account. The function returns a weighted average: the older the time point, the less weight the corresponding value is considered to be.
|
||||
|
||||
**Arguments**
|
||||
|
||||
- `value` — Value. [Integer](../../../sql-reference/data-types/int-uint.md), [Float](../../../sql-reference/data-types/float.md), or [Decimal](../../../sql-reference/data-types/decimal.md).
|
||||
- `timestamp` - timestamp must be [Integer](../../../sql-reference/data-types/int-uint.md).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user