Skip to content
Merged
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
2 changes: 1 addition & 1 deletion content/commands/bitop.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ linkTitle: BITOP
railroad_diagram: /images/railroad/bitop.svg
since: 2.6.0
summary: Performs bitwise operations on multiple strings, and stores the result.
syntax_fmt: BITOP <AND | OR | XOR | NOT> destkey key [key ...]
syntax_fmt: BITOP <AND | OR | XOR | NOT | DIFF | DIFF1 | ANDOR | ONE> destkey key [key ...]
syntax_str: destkey key [key ...]
title: BITOP
---
Expand Down
23 changes: 4 additions & 19 deletions content/commands/ts.alter.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,7 @@ arguments:
optional: true
token: DUPLICATE_POLICY
type: oneof
- arguments:
- name: ignoreMaxTimediff
type: integer
- name: ignoreMaxValDiff
type: double
name: ignore
optional: true
token: IGNORE
type: block

- arguments:
- name: label
type: string
Expand Down Expand Up @@ -79,14 +71,11 @@ stack_path: docs/data-types/timeseries
summary: Update the retention, chunk size, duplicate policy, and labels of an existing
time series
syntax: "TS.ALTER key \n [RETENTION retentionPeriod] \n [CHUNK_SIZE size] \n [DUPLICATE_POLICY\
\ policy] \n [IGNORE ignoreMaxTimediff ignoreMaxValDiff] \n [LABELS [label value\
\ ...]]\n"
\ policy] \n [LABELS [label value ...]]\n"
syntax_fmt: "TS.ALTER key [RETENTION\_retentionPeriod] [CHUNK_SIZE\_size]\n [DUPLICATE_POLICY\_\
<BLOCK | FIRST | LAST | MIN | MAX | SUM>]\n [IGNORE\_ignoreMaxTimediff ignoreMaxValDiff]\
\ [LABELS\_label value\n [label value ...]]"
<BLOCK | FIRST | LAST | MIN | MAX | SUM>] [LABELS\_label value\n [label value ...]]"
syntax_str: "[RETENTION\_retentionPeriod] [CHUNK_SIZE\_size] [DUPLICATE_POLICY\_<BLOCK\
\ | FIRST | LAST | MIN | MAX | SUM>] [IGNORE\_ignoreMaxTimediff ignoreMaxValDiff]\
\ [LABELS\_label value [label value ...]]"
\ | FIRST | LAST | MIN | MAX | SUM>] [LABELS\_label value [label value ...]]"
title: TS.ALTER
---

Expand Down Expand Up @@ -120,10 +109,6 @@ is the initial allocation size, in bytes, for the data part of each new chunk. A
is policy for handling multiple samples with identical timestamps. See `DUPLICATE_POLICY` in [`TS.CREATE`]({{< relref "commands/ts.create/" >}}).
</details>

<details open><summary><code>IGNORE ignoreMaxTimediff ignoreMaxValDiff</code></summary>

is the policy for handling duplicate samples. See `IGNORE` in [`TS.CREATE`]({{< relref "commands/ts.create/" >}}).
</details>

<details open><summary><code>LABELS [{label value}...]</code></summary>

Expand Down
26 changes: 15 additions & 11 deletions static/images/railroad/bitop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 8 additions & 14 deletions static/images/railroad/ts.alter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading