Skip to content

Commit 212373e

Browse files
authored
Merge pull request ClickHouse#79834 from ClickHouse/Blargian-patch-16
Docs: Update `Null` format with an example
2 parents b262fe2 + 86f901d commit 212373e

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

docs/en/interfaces/formats/Null.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
alias: []
33
description: 'Documentation for the Null format'
44
input_format: false
5-
keywords: ['Null']
5+
keywords: ['Null', 'format']
66
output_format: true
77
slug: /interfaces/formats/Null
88
title: 'Null'
@@ -24,4 +24,26 @@ The `Null` format can be useful for performance testing.
2424

2525
## Example Usage {#example-usage}
2626

27-
## Format Settings {#format-settings}
27+
Connect to `play.clickhouse.com` with clickhouse client:
28+
29+
```bash
30+
clickhouse client --secure --host play.clickhouse.com --user explorer
31+
```
32+
33+
Run the following the query:
34+
35+
```sql title="Query"
36+
SELECT town
37+
FROM uk_price_paid
38+
LIMIT 1000
39+
FORMAT `Null`
40+
```
41+
42+
```response title="Response"
43+
0 rows in set. Elapsed: 0.002 sec. Processed 1.00 thousand rows, 2.00 KB (506.97 thousand rows/s., 1.01 MB/s.)
44+
Peak memory usage: 297.74 KiB.
45+
```
46+
47+
Note how 1000 rows were processed, but 0 rows were output in the result set.
48+
49+
## Format Settings {#format-settings}

0 commit comments

Comments
 (0)