Skip to content

Commit 704b4ea

Browse files
authored
fix typos and incorrect settings (#482)
1 parent 58e49b0 commit 704b4ea

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

docs/append-stream-codecs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,11 @@ These codecs are designed to make compression more effective by exploiting speci
7070
`DoubleDelta` and `Gorilla` codecs are used in Gorilla TSDB as the components of its compressing algorithm. Gorilla approach is effective in scenarios when there is a sequence of slowly changing values with their timestamps. Timestamps are effectively compressed by the `DoubleDelta` codec, and values are effectively compressed by the `Gorilla` codec. For example, to get an effectively stored table, you can create it in the following configuration:
7171

7272
```sql
73-
CREATE TABLE codec_example
73+
CREATE STREAM codec_example
7474
(
7575
timestamp DateTime CODEC(DoubleDelta),
7676
slow_values Float32 CODEC(Gorilla)
7777
)
78-
ENGINE = MergeTree()
7978
```
8079

8180
## Encryption Codecs {#encryption-codecs}

docs/append-stream-ttl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ TTL d + INTERVAL 1 MONTH DELETE WHERE to_day_of_week(d) = 1;
6666

6767
Creating a stream, where expired rows are recompressed:
6868
```sql
69-
CREATE TABLE stream_for_recompression
69+
CREATE STREAM stream_for_recompression
7070
(
7171
d datetime,
7272
key uint64,

docs/append-stream.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,7 @@ SETTINGS
361361
shared_disk='s3_disk',
362362
ingest_batch_timeout_ms=200,
363363
fetch_threads=2,
364-
logstore_codec='zstd',
365-
ttl_seconds=86400;
364+
logstore_codec='zstd';
366365
```
367366

368367
```sql

0 commit comments

Comments
 (0)