mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #49485 from kislovs/patch-1
Fix code block in clickhouse-local.md
This commit is contained in:
commit
7a0fedb069
@ -41,9 +41,9 @@ If the file is sitting on the same machine as `clickhouse-local`, use the `file`
|
|||||||
```
|
```
|
||||||
|
|
||||||
ClickHouse knows the file uses a tab-separated format from filename extension. If you need to explicitly specify the format, simply add one of the [many ClickHouse input formats](../../interfaces/formats.md):
|
ClickHouse knows the file uses a tab-separated format from filename extension. If you need to explicitly specify the format, simply add one of the [many ClickHouse input formats](../../interfaces/formats.md):
|
||||||
```bash
|
```bash
|
||||||
./clickhouse local -q "SELECT * FROM file('reviews.tsv', 'TabSeparated')"
|
./clickhouse local -q "SELECT * FROM file('reviews.tsv', 'TabSeparated')"
|
||||||
```
|
```
|
||||||
|
|
||||||
The `file` table function creates a table, and you can use `DESCRIBE` to see the inferred schema:
|
The `file` table function creates a table, and you can use `DESCRIBE` to see the inferred schema:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user