Skip to content

Commit 054823e

Browse files
committed
fix code block
1 parent 5d49770 commit 054823e

File tree

1 file changed

+29
-31
lines changed

1 file changed

+29
-31
lines changed

docs/use-cases/observability/schema-design.md

Lines changed: 29 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,8 @@ ORDER BY count() DESC
792792
LIMIT 5
793793

794794
┌─country─┬─num_requests────┐
795-
│ IR │ 7.36 million
796-
│ US │ 1.67 million
795+
│ IR │ 7.36 million │
796+
│ US │ 1.67 million │
797797
│ AE │ 526.74 thousand │
798798
│ DE │ 159.35 thousand │
799799
│ FR │ 109.82 thousand │
@@ -1107,7 +1107,7 @@ FROM bytes_per_hour
11071107
FINAL
11081108

11091109
┌─count()─┐
1110-
113
1110+
113
11111111
└─────────┘
11121112

11131113
1 row in set. Elapsed: 0.039 sec.
@@ -1179,9 +1179,8 @@ GROUP BY Hour
11791179
ORDER BY Hour DESC
11801180

11811181
┌────────────────Hour─┬─UniqueUsers─┐
1182-
2019-01-26 16:00:004763
1183-
1184-
2019-01-22 00:00:00536
1182+
2019-01-26 16:00:004763
1183+
2019-01-22 00:00:00536
11851184
└─────────────────────┴─────────────┘
11861185

11871186
113 rows in set. Elapsed: 0.667 sec. Processed 10.37 million rows, 4.73 GB (15.53 million rows/s., 7.09 GB/s.)
@@ -1221,7 +1220,7 @@ SELECT count()
12211220
FROM unique_visitors_per_hour
12221221
FINAL
12231222
┌─count()─┐
1224-
113
1223+
113
12251224
└─────────┘
12261225

12271226
1 row in set. Elapsed: 0.009 sec.
@@ -1236,9 +1235,8 @@ GROUP BY Hour
12361235
ORDER BY Hour DESC
12371236

12381237
┌────────────────Hour─┬─UniqueUsers─┐
1239-
2019-01-26 16:00:004763
1240-
1241-
2019-01-22 00:00:00536
1238+
2019-01-26 16:00:004763
1239+
2019-01-22 00:00:00536
12421240
└─────────────────────┴─────────────┘
12431241

12441242
113 rows in set. Elapsed: 0.027 sec.
@@ -1445,7 +1443,7 @@ FROM system.mutations
14451443
WHERE (`table` = 'otel_logs_v2') AND (command LIKE '%MATERIALIZE%')
14461444

14471445
┌─parts_to_do─┬─is_done─┬─latest_fail_reason─┐
1448-
01 │ │
1446+
01 │ │
14491447
└─────────────┴─────────┴────────────────────┘
14501448

14511449
1 row in set. Elapsed: 0.008 sec.
@@ -1558,7 +1556,7 @@ SELECT count()
15581556
FROM otel_logs_bloom
15591557
WHERE Referer LIKE '%ultra%'
15601558
┌─count()─┐
1561-
182
1559+
182
15621560
└─────────┘
15631561

15641562
1 row in set. Elapsed: 0.077 sec. Processed 4.22 million rows, 375.29 MB (54.81 million rows/s., 4.87 GB/s.)
@@ -1580,16 +1578,16 @@ FROM otel_logs_v2
15801578
WHERE Referer LIKE '%ultra%'
15811579

15821580
┌─explain────────────────────────────────────────────────────────────┐
1583-
│ Expression ((Project names + Projection))
1584-
│ Aggregating
1585-
│ Expression (Before GROUP BY)
1581+
│ Expression ((Project names + Projection)) │
1582+
│ Aggregating │
1583+
│ Expression (Before GROUP BY) │
15861584
│ Filter ((WHERE + Change column names to column identifiers)) │
15871585
│ ReadFromMergeTree (default.otel_logs_v2) │
15881586
│ Indexes: │
1589-
│ PrimaryKey
1590-
│ Condition: true
1591-
│ Parts: 9/9
1592-
│ Granules: 1278/1278
1587+
│ PrimaryKey │
1588+
│ Condition: true │
1589+
│ Parts: 9/9
1590+
│ Granules: 1278/1278
15931591
└────────────────────────────────────────────────────────────────────┘
15941592

15951593
10 rows in set. Elapsed: 0.016 sec.
@@ -1601,21 +1599,21 @@ FROM otel_logs_bloom
16011599
WHERE Referer LIKE '%ultra%'
16021600

16031601
┌─explain────────────────────────────────────────────────────────────┐
1604-
│ Expression ((Project names + Projection))
1605-
│ Aggregating
1606-
│ Expression (Before GROUP BY)
1602+
│ Expression ((Project names + Projection)) │
1603+
│ Aggregating │
1604+
│ Expression (Before GROUP BY) │
16071605
│ Filter ((WHERE + Change column names to column identifiers)) │
16081606
│ ReadFromMergeTree (default.otel_logs_bloom) │
16091607
│ Indexes: │
1610-
│ PrimaryKey
1611-
│ Condition: true
1612-
│ Parts: 8/8
1613-
│ Granules: 1276/1276
1614-
│ Skip
1615-
│ Name: idx_span_attr_value
1616-
│ Description: ngrambf_v1 GRANULARITY 1
1617-
│ Parts: 8/8
1618-
│ Granules: 517/1276
1608+
│ PrimaryKey │
1609+
│ Condition: true │
1610+
│ Parts: 8/8
1611+
│ Granules: 1276/1276
1612+
│ Skip │
1613+
│ Name: idx_span_attr_value │
1614+
│ Description: ngrambf_v1 GRANULARITY 1
1615+
│ Parts: 8/8
1616+
│ Granules: 517/1276
16191617
└────────────────────────────────────────────────────────────────────┘
16201618
```
16211619

0 commit comments

Comments
 (0)