mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-11 01:54:55 +00:00
5ebdd0c134
* translate docs/zh/operations/table_engines/join.md * add a reference linking of 'join clause' into docs/{zh,en}/operations/table_engines/join.md * more comment for docs/zh/operations/table_engines/join.md
958 B
958 B
Join
A prepared data structure for JOIN that is always located in RAM.
Join(ANY|ALL, LEFT|INNER, k1[, k2, ...])
Engine parameters: ANY|ALL
– strictness; LEFT|INNER
– type. For more information, see the JOIN Clause section.
These parameters are set without quotes and must match the JOIN that the table will be used for. k1, k2, ... are the key columns from the USING clause that the join will be made on.
The table can't be used for GLOBAL JOINs.
You can use INSERT to add data to the table, similar to the Set engine. For ANY, data for duplicated keys will be ignored. For ALL, it will be counted. You can't perform SELECT directly from the table. The only way to retrieve data is to use it as the "right-hand" table for JOIN.
Storing data on the disk is the same as for the Set engine.