mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
documentation edit
This commit is contained in:
parent
c0051d9cd9
commit
f2fda85708
@ -30,6 +30,25 @@ SOURCE(SOURCE_TYPE(param1 val1 ... paramN valN)) -- Source configuration
|
||||
|
||||
The source is configured in the `source` section.
|
||||
|
||||
For source types
|
||||
[Local file](#dicts-external_dicts_dict_sources-local_file),
|
||||
[Executable file](#dicts-external_dicts_dict_sources-executable),
|
||||
[HTTP(s)](#dicts-external_dicts_dict_sources-http),
|
||||
[ClickHouse](#dicts-external_dicts_dict_sources-clickhouse)
|
||||
optional format settings are available:
|
||||
|
||||
``` xml
|
||||
<source>
|
||||
<file>
|
||||
<path>/opt/dictionaries/os.tsv</path>
|
||||
<format>TabSeparated</format>
|
||||
</file>
|
||||
<settings>
|
||||
<format_csv_allow_single_quotes>0</format_csv_allow_single_quotes>
|
||||
</settings>
|
||||
</source>
|
||||
```
|
||||
|
||||
Types of sources (`source_type`):
|
||||
|
||||
- [Local file](#dicts-external_dicts_dict_sources-local_file)
|
||||
|
@ -30,6 +30,25 @@ SOURCE(SOURCE_TYPE(param1 val1 ... paramN valN)) -- Source configuration
|
||||
|
||||
Источник настраивается в разделе `source`.
|
||||
|
||||
Для типов источников
|
||||
[Локальный файл](#dicts-external_dicts_dict_sources-local_file),
|
||||
[Исполняемый файл](#dicts-external_dicts_dict_sources-executable),
|
||||
[HTTP(s)](#dicts-external_dicts_dict_sources-http),
|
||||
[ClickHouse](#dicts-external_dicts_dict_sources-clickhouse)
|
||||
доступны дополнительные настройки форматирования:
|
||||
|
||||
``` xml
|
||||
<source>
|
||||
<file>
|
||||
<path>/opt/dictionaries/os.tsv</path>
|
||||
<format>TabSeparated</format>
|
||||
</file>
|
||||
<settings>
|
||||
<format_csv_allow_single_quotes>0</format_csv_allow_single_quotes>
|
||||
</settings>
|
||||
</source>
|
||||
```
|
||||
|
||||
Типы источников (`source_type`):
|
||||
|
||||
- [Локальный файл](#dicts-external_dicts_dict_sources-local_file)
|
||||
|
Loading…
Reference in New Issue
Block a user