Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions documentation/query/functions/aggregation.md
Original file line number Diff line number Diff line change
Expand Up @@ -1659,9 +1659,12 @@ Supports `SAMPLE BY` with `FILL` modes.
#### Parameters

- `price` is any numeric value.
- `timestamp` is a `timestamp` value. This is typically the table's
[designated timestamp](/docs/concepts/designated-timestamp/) but can be any
timestamp column.
- `timestamp` must be the table's
[designated timestamp](/docs/concepts/designated-timestamp/), and the base
query must deliver rows in ascending designated-timestamp order. As a
current limitation, `twap()` rejects a query that passes any other
timestamp column or expression, or a base scan that compiles to a backward
scan (for example, an inner `ORDER BY ts DESC LIMIT N`).

#### Return value

Expand Down
6 changes: 6 additions & 0 deletions documentation/query/functions/visualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,12 @@ When explicit `min`/`max` are provided, out-of-range values are clamped:
`FILL(NULL)`, `FILL(NONE)`, and `FILL(PREV)`. `FILL(LINEAR)` and
`FILL(value)` are not supported.

- **Ascending designated-timestamp scan required.** The base query must
deliver rows in ascending designated-timestamp order. As a current
limitation, `sparkline` rejects a base scan that compiles to a backward
scan (for example, an inner `ORDER BY ts DESC LIMIT N` on the
[designated timestamp](/docs/concepts/designated-timestamp/)).

#### See also

- [bar](#bar) - Scalar horizontal bar
Expand Down
Loading