ClickHouse/docs/en/sql_reference/dictionaries/index.md

21 lines
908 B
Markdown
Raw Normal View History

2020-04-03 13:23:32 +00:00
---
toc_folder_title: Dictionaries
toc_priority: 35
toc_title: Introduction
---
2020-03-20 10:10:48 +00:00
# Dictionaries {#dictionaries}
A dictionary is a mapping (`key -> attributes`) that is convenient for various types of reference lists.
ClickHouse supports special functions for working with dictionaries that can be used in queries. It is easier and more efficient to use dictionaries with functions than a `JOIN` with reference tables.
2020-03-20 10:10:48 +00:00
[NULL](../syntax.md#null) values cant be stored in a dictionary.
ClickHouse supports:
2020-04-03 13:23:32 +00:00
- [Built-in dictionaries](internal_dicts.md#internal_dicts) with a specific [set of functions](../../sql_reference/functions/ym_dict_functions.md).
- [Plug-in (external) dictionaries](external_dictionaries/external_dicts.md) with a [net of functions](../../sql_reference/functions/ext_dict_functions.md).
2020-01-30 10:34:55 +00:00
[Original article](https://clickhouse.tech/docs/en/query_language/dicts/) <!--hide-->