DOCS-624: Fixing links to nowhere 2 (#10703)

* enbaskakova-DOCSUP-652 (#101)

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* Update docs/en/sql_reference/aggregate_functions/combinators.md

Co-Authored-By: BayoNet <da-daos@yandex.ru>

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"

Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>

* Revert "enbaskakova-DOCSUP-652 (#101)" (#107)

This reverts commit 639fee7610.

* CLICKHOUSEDOCS-624: Fixed en

* CLICKHOUSEDOCS-624: Fixed RU.

* CLICKHOUSEDOCS-624: Fixed ES and FR.

* CLICKHOUSEDOCS-624: Fixed JA and TR

* CLICKHOUSEDOCS-624: Fixed FA.

* CLICKHOUSEDOCS-624: Fixed ZH.

* Update docs/tools/test.py

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

* Update docs/tools/test.py

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
This commit is contained in:
BayoNet 2020-05-06 22:28:06 +03:00 committed by GitHub
parent 01e7c6bbcf
commit 4ec7821fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
40 changed files with 134 additions and 58 deletions

View File

@ -19,7 +19,7 @@ The table engine (type of table) determines:
### MergeTree {#mergetree}
The most universal and functional table engines for high-load tasks. The property shared by these engines is quick data insertion with subsequent background data processing. `MergeTree` family engines support data replication (with [Replicated*](mergetree-family/replication.md#replication) versions of engines), partitioning, and other features not supported in other engines.
The most universal and functional table engines for high-load tasks. The property shared by these engines is quick data insertion with subsequent background data processing. `MergeTree` family engines support data replication (with [Replicated*](mergetree-family/replication.md#table_engines-replication) versions of engines), partitioning, and other features not supported in other engines.
Engines in the family:

View File

@ -116,7 +116,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
The folders 201901\_1\_1\_0, 201901\_1\_7\_1 and so on are the directories of the parts. Each part relates to a corresponding partition and contains data just for a certain month (the table in this example has partitioning by month).
The `detached` directory contains parts that were detached from the table using the [DETACH](#alter_detach-partition) query. The corrupted parts are also moved to this directory, instead of being deleted. The server does not use the parts from the `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) query.
The `detached` directory contains parts that were detached from the table using the [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) query. The corrupted parts are also moved to this directory, instead of being deleted. The server does not use the parts from the `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) query.
Note that on the operating server, you cannot manually change the set of parts or their data on the file system, since the server will not know about it. For non-replicated tables, you can do this when the server is stopped, but it isnt recommended. For replicated tables, the set of parts cannot be changed in any case.

View File

@ -1,4 +1,4 @@
# Настройки {#settings}
# Settings {#settings}
## distributed\_product\_mode {#distributed-product-mode}

View File

@ -461,7 +461,7 @@ Keyword `ALL` means all the ClickHouse users including current user. Keywords `A
## CREATE QUOTA {#create-quota-statement}
Creates a [quota](../../operations/access-rights.md#quota-management) that can be assigned to a user or a role.
Creates a [quota](../../operations/access-rights.md#quotas-management) that can be assigned to a user or a role.
### Syntax {#create-quota-syntax}
@ -485,7 +485,7 @@ CREATE QUOTA qA FOR INTERVAL 15 MONTH MAX QUERIES 123 TO CURRENT_USER
## CREATE SETTINGS PROFILE {#create-settings-profile-statement}
Creates a [settings profile](../../operations/access-rights.md#settings-profile-management) that can be assigned to a user or a role.
Creates a [settings profile](../../operations/access-rights.md#settings-profiles-management) that can be assigned to a user or a role.
### Syntax {#create-settings-profile-syntax}

View File

@ -170,7 +170,7 @@ Hierarchy of privileges:
- `addressToLine`
- `addressToSymbol`
- `demangle`
- [SOURCES](#grant-SOURCES)
- [SOURCES](#grant-sources)
- `FILE`
- `URL`
- `REMOTE`
@ -297,7 +297,7 @@ Examples of how this hierarchy is treated:
- The `MODIFY SETTING` privilege allows to modify table engine settings. In doesn't affect settings or server configuration parameters.
- The `ATTACH` operation needs the [CREATE](#grant-create) privilege.
- The `DETACH` operation needs the [DROP](#grant-drop) privilege.
- To stop mutation by the [KILL MUTATION](misc.md#kill-mutation-statement) query, you need to have a privilege to start this mutation. For example, if you want to stop the `ALTER UPDATE` query, you need the `ALTER UPDATE`, `ALTER TABLE`, or `ALTER` privilege.
- To stop mutation by the [KILL MUTATION](misc.md#kill-mutation) query, you need to have a privilege to start this mutation. For example, if you want to stop the `ALTER UPDATE` query, you need the `ALTER UPDATE`, `ALTER TABLE`, or `ALTER` privilege.
### CREATE {#grant-create}
@ -316,7 +316,7 @@ Allows to perform [CREATE](create.md) and [ATTACH](misc.md#attach) DDL-queries c
### DROP {#grant-drop}
Allows to perform [DROP](misc.md#drop-statement) and [DETACH](misc.md#detach) queries corresponding to the following hierarchy of privileges:
Allows to perform [DROP](misc.md#drop) and [DETACH](misc.md#detach) queries corresponding to the following hierarchy of privileges:
- `DROP`. Level:
- `DROP DATABASE`. Level: `DATABASE`
@ -436,7 +436,7 @@ Allows using [introspection](../../operations/optimizing-performance/sampling-qu
### SOURCES {#grant-sources}
Allows using external data sources. Applies to [table engines](../../engines/table-engines/index.md) and [table functions](../table-functions/index.md).
Allows using external data sources. Applies to [table engines](../../engines/table-engines/index.md) and [table functions](../table-functions/index.md#table-functions).
- `SOURCES`. Level: `GROUP`
- `FILE`. Level: `GLOBAL`

View File

@ -75,7 +75,7 @@ Returns the following `String` type columns:
Nested data structures are output in “expanded” format. Each column is shown separately, with the name after a dot.
## DETACH {#detach-statement}
## DETACH {#detach}
Deletes information about the name table from the server. The server stops knowing about the tables existence.
@ -216,7 +216,7 @@ The response contains the `kill_status` column, which can take the following val
A test query (`TEST`) only checks the users rights and displays a list of queries to stop.
## KILL MUTATION {#kill-mutation-statement}
## KILL MUTATION {#kill-mutation}
``` sql
KILL MUTATION [ON CLUSTER cluster]

View File

@ -118,7 +118,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
Carpeta 201901\_1\_1\_0, 201901\_1\_7\_1 y así sucesivamente son los directorios de las partes. Cada parte se relaciona con una partición correspondiente y contiene datos solo para un mes determinado (la tabla de este ejemplo tiene particiones por mes).
El `detached` el directorio contiene partes que se separaron de la tabla utilizando el [DETACH](#alter_detach-partition) consulta. Las partes dañadas también se mueven a este directorio, en lugar de eliminarse. El servidor no utiliza las piezas del `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) consulta.
El `detached` el directorio contiene partes que se separaron de la tabla utilizando el [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) consulta. Las partes dañadas también se mueven a este directorio, en lugar de eliminarse. El servidor no utiliza las piezas del `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) consulta.
Tenga en cuenta que en el servidor operativo, no puede cambiar manualmente el conjunto de piezas o sus datos en el sistema de archivos, ya que el servidor no lo sabrá. Para tablas no replicadas, puede hacer esto cuando se detiene el servidor, pero no se recomienda. Para tablas replicadas, el conjunto de piezas no se puede cambiar en ningún caso.

View File

@ -2,7 +2,7 @@
machine_translated: true
machine_translated_rev: 3e185d24c9fe772c7cf03d5475247fb829a21dfa
toc_priority: 60
toc_title: Sistema abierto
toc_title: clickhouse-local
---
# Sistema Abierto {#clickhouse-local}

View File

@ -218,7 +218,7 @@ Las siguientes operaciones con [partición](../../engines/table-engines/mergetre
<!-- -->
#### DETACH PARTITION {#alter_detach-partition} {#detach-partition-alter-detach-partition}
#### DETACH PARTITION {#alter_detach-partition}
``` sql
ALTER TABLE table_name DETACH PARTITION partition_expr

View File

@ -777,7 +777,7 @@ No se puede especificar una constante como argumentos para funciones agregadas.
#### Procesamiento NULL {#null-processing}
Para agrupar, ClickHouse interpreta [NULL](../syntax.md) como valor, y `NULL=NULL`.
Para agrupar, ClickHouse interpreta [NULL](../syntax.md#null-literal) como valor, y `NULL=NULL`.
Aquí hay un ejemplo para mostrar lo que esto significa.
@ -1058,7 +1058,7 @@ El resultado será el mismo que si GROUP BY se especificara en todos los campos
DISTINCT no se admite si SELECT tiene al menos una columna de matriz.
`DISTINCT` trabaja con [NULL](../syntax.md) como si `NULL` Era un valor específico, y `NULL=NULL`. En otras palabras, en el `DISTINCT` resultados, diferentes combinaciones con `NULL` sólo ocurren una vez.
`DISTINCT` trabaja con [NULL](../syntax.md#null-literal) como si `NULL` Era un valor específico, y `NULL=NULL`. En otras palabras, en el `DISTINCT` resultados, diferentes combinaciones con `NULL` sólo ocurren una vez.
ClickHouse admite el uso de `DISTINCT` y `ORDER BY` para diferentes columnas en una consulta. El `DISTINCT` cláusula se ejecuta antes de `ORDER BY` clausula.
@ -1215,7 +1215,7 @@ Una subconsulta en la cláusula IN siempre se ejecuta una sola vez en un único
#### Procesamiento NULL {#null-processing-1}
Durante el procesamiento de la solicitud, el operador IN asume que el resultado de una operación [NULL](../syntax.md) siempre es igual a `0`, independientemente de si `NULL` está en el lado derecho o izquierdo del operador. `NULL` Los valores no se incluyen en ningún conjunto de datos, no se corresponden entre sí y no se pueden comparar.
Durante el procesamiento de la solicitud, el operador IN asume que el resultado de una operación [NULL](../syntax.md#null-literal) siempre es igual a `0`, independientemente de si `NULL` está en el lado derecho o izquierdo del operador. `NULL` Los valores no se incluyen en ningún conjunto de datos, no se corresponden entre sí y no se pueden comparar.
Aquí hay un ejemplo con el `t_null` tabla:

View File

@ -119,7 +119,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
پوشهها 201901\_1\_1\_0, 201901\_1\_7\_1 و به همین ترتیب دایرکتوری از قطعات هستند. هر بخش مربوط به پارتیشن مربوطه و شامل داده ها فقط برای یک ماه خاص (جدول در این مثال پارتیشن بندی توسط ماه).
این `detached` دایرکتوری شامل قطعات است که از جدول با استفاده از جدا شد [DETACH](#alter_detach-partition) پرس و جو. قطعات خراب نیز به این دایرکتوری منتقل, به جای اینکه حذف. سرور از قطعات از `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) پرس و جو.
این `detached` دایرکتوری شامل قطعات است که از جدول با استفاده از جدا شد [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) پرس و جو. قطعات خراب نیز به این دایرکتوری منتقل, به جای اینکه حذف. سرور از قطعات از `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) پرس و جو.
توجه داشته باشید که در سرور عامل شما نمی توانید به صورت دستی مجموعه ای از قطعات یا داده های خود را بر روی سیستم فایل تغییر دهید زیرا سرور در این مورد نمی داند. برای جداول غیر تکرار, شما می توانید این کار را انجام زمانی که سرور متوقف شده است, اما توصیه نمی شود. برای جداول تکرار, مجموعه ای از قطعات را نمی توان در هر صورت تغییر.

View File

@ -218,7 +218,7 @@ ALTER TABLE [db].name DROP CONSTRAINT constraint_name;
<!-- -->
#### جدا پارتیشن {\#alter\_detach-پارتیشن} {#detach-partition-alter-detach-partition}
#### DETACH PARTITION {#alter_detach-partition}
``` sql
ALTER TABLE table_name DETACH PARTITION partition_expr

View File

@ -777,7 +777,7 @@ GROUP BY domain
#### پردازش پوچ {#null-processing}
برای گروه بندی, تفسیر کلیک [NULL](../syntax.md) به عنوان یک ارزش, و `NULL=NULL`.
برای گروه بندی, تفسیر کلیک [NULL](../syntax.md#null-literal) به عنوان یک ارزش, و `NULL=NULL`.
در اینجا یک مثال برای نشان دادن این بدان معنی است.
@ -1058,7 +1058,7 @@ Code: 42. DB::Exception: Received from localhost:9000. DB::Exception: Number of
متمایز پشتیبانی نمی شود اگر انتخاب حداقل یک ستون مجموعه ای دارد.
`DISTINCT` با این نسخهها کار میکند [NULL](../syntax.md) همانطور که اگر `NULL` یک مقدار خاص بودند, و `NULL=NULL`. به عبارت دیگر در `DISTINCT` نتایج, ترکیب های مختلف با `NULL` فقط یک بار رخ می دهد.
`DISTINCT` با این نسخهها کار میکند [NULL](../syntax.md#null-literal) همانطور که اگر `NULL` یک مقدار خاص بودند, و `NULL=NULL`. به عبارت دیگر در `DISTINCT` نتایج, ترکیب های مختلف با `NULL` فقط یک بار رخ می دهد.
کلیک پشتیبانی با استفاده از `DISTINCT` و `ORDER BY` بند برای ستون های مختلف در یک پرس و جو. این `DISTINCT` بند قبل از اجرا `ORDER BY` بند بند.
@ -1215,7 +1215,7 @@ ORDER BY EventDate ASC
#### پردازش پوچ {#null-processing-1}
در طول پردازش درخواست, در اپراتور فرض می شود که در نتیجه یک عملیات با [NULL](../syntax.md) همیشه برابر است با `0`, صرف نظر از اینکه `NULL` است در سمت راست یا چپ اپراتور. `NULL` ارزش ها در هر مجموعه داده شامل نمی شود, به یکدیگر مربوط نیست و نمی توان در مقایسه.
در طول پردازش درخواست, در اپراتور فرض می شود که در نتیجه یک عملیات با [NULL](../syntax.md#null-literal) همیشه برابر است با `0`, صرف نظر از اینکه `NULL` است در سمت راست یا چپ اپراتور. `NULL` ارزش ها در هر مجموعه داده شامل نمی شود, به یکدیگر مربوط نیست و نمی توان در مقایسه.
در اینجا یک مثال با است `t_null` جدول:

View File

@ -2,6 +2,7 @@
machine_translated: true
machine_translated_rev: d734a8e46ddd7465886ba4133bff743c55190626
toc_priority: 43
toc_title: jdbc
---
# جستجو {#table-function-jdbc}

View File

@ -118,7 +118,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
Dossier 201901\_1\_1\_0, 201901\_1\_7\_1 et ainsi de suite sont les répertoires des parties. Chaque partie se rapporte à une partition correspondante et contient des données juste pour un certain mois (la table dans cet exemple a partitionnement par mois).
Le `detached` le répertoire contient des parties qui ont été détachées de la table à laide [DETACH](#alter_detach-partition) requête. Les parties corrompues sont également déplacées dans ce répertoire, au lieu dêtre supprimées. Le serveur nutilise pas les pièces de la `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) requête.
Le `detached` le répertoire contient des parties qui ont été détachées de la table à laide [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) requête. Les parties corrompues sont également déplacées dans ce répertoire, au lieu dêtre supprimées. Le serveur nutilise pas les pièces de la `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) requête.
Notez que sur le serveur dexploitation, vous ne pouvez pas modifier manuellement lensemble de pièces ou leurs données sur le système de fichiers, car le serveur ne le saura pas. Pour les tables non répliquées, vous pouvez le faire lorsque le serveur est arrêté, mais ce nest pas recommandé. Pour les tables répliquées, lensemble de pièces ne peut en aucun cas être modifié.

View File

@ -218,7 +218,7 @@ Les opérations suivantes avec [partition](../../engines/table-engines/mergetree
<!-- -->
#### Détacher La PARTITION {#alter_detach-partition} {#detach-partition-alter-detach-partition}
#### Détacher La PARTITION {#alter_detach-partition}
``` sql
ALTER TABLE table_name DETACH PARTITION partition_expr

View File

@ -777,7 +777,7 @@ Une constante ne peut pas être spécifiée comme arguments pour les fonctions d
#### Le Traitement NULL {#null-processing}
Pour le regroupement, ClickHouse interprète [NULL](../syntax.md) comme une valeur, et `NULL=NULL`.
Pour le regroupement, ClickHouse interprète [NULL](../syntax.md#null-literal) comme une valeur, et `NULL=NULL`.
Voici un exemple pour montrer ce que cela signifie.
@ -1058,7 +1058,7 @@ Le résultat sera le même que si GROUP BY était spécifié dans tous les champ
DISTINCT n'est pas pris en charge si SELECT a au moins une colonne de tableau.
`DISTINCT` fonctionne avec [NULL](../syntax.md) comme si `NULL` ont une valeur spécifique, et `NULL=NULL`. En d'autres termes, dans le `DISTINCT` résultats, différentes combinaisons avec `NULL` qu'une seule fois.
`DISTINCT` fonctionne avec [NULL](../syntax.md#null-literal) comme si `NULL` ont une valeur spécifique, et `NULL=NULL`. En d'autres termes, dans le `DISTINCT` résultats, différentes combinaisons avec `NULL` qu'une seule fois.
Clickhouse prend en charge l'utilisation du `DISTINCT` et `ORDER BY` clauses pour différentes colonnes dans une requête. Le `DISTINCT` la clause est exécutée avant la `ORDER BY` clause.
@ -1215,7 +1215,7 @@ Une sous-requête dans la clause est toujours exécuter une seule fois sur un se
#### Le Traitement NULL {#null-processing-1}
Pendant le traitement de la demande, l'opérateur n'assume que le résultat d'une opération avec [NULL](../syntax.md) est toujours égale à `0` indépendamment de savoir si `NULL` est sur le côté droit ou gauche de l'opérateur. `NULL` les valeurs ne sont incluses dans aucun jeu de données, ne correspondent pas entre elles et ne peuvent pas être comparées.
Pendant le traitement de la demande, l'opérateur n'assume que le résultat d'une opération avec [NULL](../syntax.md#null-literal) est toujours égale à `0` indépendamment de savoir si `NULL` est sur le côté droit ou gauche de l'opérateur. `NULL` les valeurs ne sont incluses dans aucun jeu de données, ne correspondent pas entre elles et ne peuvent pas être comparées.
Voici un exemple avec le `t_null` table:

View File

@ -118,7 +118,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
フォルダ 201901\_1\_1\_0, 201901\_1\_7\_1 というように部品のディレクトリです。 各部に関する対応する分割データが含まれまで一定の月のテーブルこの例では、分割による。
その `detached` ディレクト [DETACH](#alter_detach-partition) クエリ。 破損した部分も削除されるのではなく、このディレクトリに移動されます。 サーバーはサーバーからの部品を使用しません `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) クエリ。
その `detached` ディレクト [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) クエリ。 破損した部分も削除されるのではなく、このディレクトリに移動されます。 サーバーはサーバーからの部品を使用しません `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) クエリ。
オペレーティングサーバーでは、ファイルシステム上の部品またはそのデータのセットを手動で変更することはできません。 非複製のテーブル、これを実行する事ができます。サーバが停止中でないお勧めします。 レプリケートされたテーブルの場合、パートのセットは変更できません。

View File

@ -218,7 +218,7 @@ ALTER TABLE [db].name DROP CONSTRAINT constraint_name;
<!-- -->
#### デタッチパーティション{#alter_detach-partition} {#detach-partition-alter-detach-partition}
#### DETACH PARTITION {#alter_detach-partition}
``` sql
ALTER TABLE table_name DETACH PARTITION partition_expr

View File

@ -777,7 +777,7 @@ GROUP BYは、配列列ではサポートされません。
#### ヌル処理 {#null-processing}
グループ化のために、ClickHouseは [NULL](../syntax.md) 値として、 `NULL=NULL`.
グループ化のために、ClickHouseは [NULL](../syntax.md#null-literal) 値として、 `NULL=NULL`.
これが何を意味するのかを示す例があります。
@ -1058,7 +1058,7 @@ DISTINCTが指定されている場合、結果に完全に一致する行のす
個別には対応していない場合に選択して少なくとも一つの配列です。
`DISTINCT` で動作 [NULL](../syntax.md) まるで `NULL` 特定の値であり、 `NULL=NULL`. つまり、 `DISTINCT` 結果、異なる組み合わせ `NULL` 一度だけ発生する。
`DISTINCT` で動作 [NULL](../syntax.md#null-literal) まるで `NULL` 特定の値であり、 `NULL=NULL`. つまり、 `DISTINCT` 結果、異なる組み合わせ `NULL` 一度だけ発生する。
ClickHouseは使用を支えます `DISTINCT``ORDER BY` あるクエリ内の異なる列の句。 その `DISTINCT` の前に句が実行されます。 `ORDER BY` 句。
@ -1215,7 +1215,7 @@ IN句のサブクエリは、常に単一のサーバーで一度だけ実行さ
#### ヌル処理 {#null-processing-1}
要求の処理中にIN演算子は、次の条件を満たす操作の結果 [NULL](../syntax.md) は常に等しい `0` かどうかにかかわらず `NULL` 演算子の右側または左側にあります。 `NULL` 値はどのデータセットにも含まれず、互いに対応せず、比較することもできません。
要求の処理中にIN演算子は、次の条件を満たす操作の結果 [NULL](../syntax.md#null-literal) は常に等しい `0` かどうかにかかわらず `NULL` 演算子の右側または左側にあります。 `NULL` 値はどのデータセットにも含まれず、互いに対応せず、比較することもできません。
ここに例があります `t_null` テーブル:

View File

@ -113,7 +113,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
201901\_1\_1\_0, 201901\_1\_7\_1 и т. д. это директории кусков партиции. Каждый кусок содержит данные только для соответствующего месяца (таблица в данном примере содержит партиционирование по месяцам).
Директория `detached` содержит куски, отсоединенные от таблицы с помощью запроса [DETACH](#alter_detach-partition). Поврежденные куски также попадают в эту директорию они не удаляются с сервера.
Директория `detached` содержит куски, отсоединенные от таблицы с помощью запроса [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition). Поврежденные куски также попадают в эту директорию они не удаляются с сервера.
Сервер не использует куски из директории `detached`. Вы можете в любое время добавлять, удалять, модифицировать данные в директории detached - сервер не будет об этом знать, пока вы не сделаете запрос [ATTACH](../../../engines/table-engines/mergetree-family/custom-partitioning-key.md#alter_attach-partition).

View File

@ -54,7 +54,7 @@ INSERT INTO t VALUES (1, 'Hello, world'), (2, 'abc'), (3, 'def')
Если вы хотите использовать идентификаторы, совпадающие с ключевыми словами, или использовать в идентификаторах символы, не входящие в регулярное выражение, заключите их в двойные или обратные кавычки, например, `"id"`, `` `id` ``.
## Литералы {#literaly}
## Литералы {#literals}
Существуют: числовые, строковые, составные литералы и `NULL`.

View File

@ -60,9 +60,9 @@ def test_single_page(input_path, lang):
if duplicate_anchor_points:
logging.warning('Found %d duplicate anchor points' % duplicate_anchor_points)
if lang == 'en' and links_to_nowhere:
logging.warning(f'Found {links_to_nowhere} links to nowhere')
# TODO: restore sys.exit(1)
if links_to_nowhere:
logging.warning(f'Found {links_to_nowhere} links to nowhere in {lang}')
sys.exit(1)
if len(anchor_points) <= 10:
logging.error('Html parsing is probably broken')

View File

@ -118,7 +118,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
Klasör 201901\_1\_1\_0, 201901\_1\_7\_1 ve böylece parçaların dizinleri vardır. Her bölüm karşılık gelen bir bölümle ilgilidir ve yalnızca belirli bir ay için veri içerir (Bu örnekteki tabloda aylara göre bölümleme vardır).
Bu `detached` dizin kullanarak tablodan ayrılmış parçaları içerir [DETACH](#alter_detach-partition) sorgu. Bozuk parçalar da silinmek yerine bu dizine taşınır. Sunucu parçaları kullanmaz `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) sorgu.
Bu `detached` dizin kullanarak tablodan ayrılmış parçaları içerir [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) sorgu. Bozuk parçalar da silinmek yerine bu dizine taşınır. Sunucu parçaları kullanmaz `detached` directory. You can add, delete, or modify the data in this directory at any time the server will not know about this until you run the [ATTACH](../../../sql-reference/statements/alter.md#alter_attach-partition) sorgu.
İşletim sunucusunda, sunucu bunu bilmediğinden, dosya sistemindeki parça kümesini veya verilerini el ile değiştiremeyeceğinizi unutmayın. Çoğaltılmamış tablolar için, sunucu durdurulduğunda bunu yapabilirsiniz, ancak önerilmez. Çoğaltılmış tablolar için, parça kümesi her durumda değiştirilemez.

View File

@ -217,7 +217,7 @@ Aşağıdaki işlemler ile [bölümler](../../engines/table-engines/mergetree-fa
<!-- -->
#### Bölüm ayırmak {\#alter\_detach-bölüm} {#detach-partition-alter-detach-partition}
#### DETACH PARTITION {#alter_detach-partition}
``` sql
ALTER TABLE table_name DETACH PARTITION partition_expr

View File

@ -777,7 +777,7 @@ Bir sabit, toplam işlevler için bağımsız değişken olarak belirtilemez. Ö
#### NULL işleme {#null-processing}
Gruplama için ClickHouse yorumlar [NULL](../syntax.md) bir değer olarak ve `NULL=NULL`.
Gruplama için ClickHouse yorumlar [NULL](../syntax.md#null-literal) bir değer olarak ve `NULL=NULL`.
İşte bunun ne anlama geldiğini göstermek için bir örnek.
@ -1058,7 +1058,7 @@ Sonuç, grup tarafından, toplama işlevleri olmadan SEÇ'TE belirtilen tüm ala
Select en az bir dizi sütunu varsa DISTINCT desteklenmez.
`DISTINCT` ile çalışır [NULL](../syntax.md) sanki `NULL` belirli bir değer ve `NULL=NULL`. Diğer bir deyişle, içinde `DISTINCT` sonuçlar, farklı kombinasyonlar ile `NULL` yalnızca bir kez meydana gelir.
`DISTINCT` ile çalışır [NULL](../syntax.md#null-literal) sanki `NULL` belirli bir değer ve `NULL=NULL`. Diğer bir deyişle, içinde `DISTINCT` sonuçlar, farklı kombinasyonlar ile `NULL` yalnızca bir kez meydana gelir.
ClickHouse kullanarak destekler `DISTINCT` ve `ORDER BY` bir sorguda farklı sütunlar için yan tümceleri. Bu `DISTINCT` fık thera önce Yürüt theülür `ORDER BY` yan.
@ -1215,7 +1215,7 @@ IN yan tümcesinde BIR alt sorgu her zaman tek bir sunucuda yalnızca bir kez ç
#### NULL işleme {#null-processing-1}
İstek işleme sırasında, In operatörü, bir işlemin sonucunun [NULL](../syntax.md) her zaman eşittir `0` olsun ne olursa olsun `NULL` operatörün sağ veya sol tarafındadır. `NULL` değerler herhangi bir veri kümesine dahil edilmez, birbirine karşılık gelmez ve karşılaştırılamaz.
İstek işleme sırasında, In operatörü, bir işlemin sonucunun [NULL](../syntax.md#null-literal) her zaman eşittir `0` olsun ne olursa olsun `NULL` operatörün sağ veya sol tarafındadır. `NULL` değerler herhangi bir veri kümesine dahil edilmez, birbirine karşılık gelmez ve karşılaştırılamaz.
İşte bir örnek ile `t_null` Tablo:

View File

@ -13,7 +13,7 @@
## MergeTree {#mergetree}
适用于高负载任务的最通用和功能最强大的表引擎。这些引擎的共同特点是可以快速插入数据并进行后续的后台数据处理。 MergeTree系列引擎支持数据复制使用[Replicated\*](mergetree-family/replication.md#replication) 的引擎版本),分区和一些其他引擎不支持的其他功能。
适用于高负载任务的最通用和功能最强大的表引擎。这些引擎的共同特点是可以快速插入数据并进行后续的后台数据处理。 MergeTree系列引擎支持数据复制使用[Replicated\*](mergetree-family/replication.md#table_engines-replication) 的引擎版本),分区和一些其他引擎不支持的其他功能。
该类型的引擎:
- [MergeTree](mergetree-family/mergetree.md#mergetree)
@ -62,7 +62,7 @@
- [Memory](special/memory.md#memory)
- [Buffer](special/buffer.md#buffer)
# 虚拟列 {#xu-ni-lie}
# 虚拟列 {#table_engines-virtual_columns}
虚拟列是表引擎组成的一部分,它在对应的表引擎的源代码中定义。

View File

@ -1,4 +1,4 @@
# StripeLog {#table_engines-stripelog}
# StripeLog {#stripelog}
该引擎属于日志引擎系列。请在[日志引擎系列](log-family.md)文章中查看引擎的共同属性和差异。

View File

@ -107,7 +107,7 @@ drwxr-xr-x 2 clickhouse clickhouse 4096 Feb 1 16:48 detached
文件夹 201901\_1\_1\_0201901\_1\_7\_1 等是片段的目录。每个片段都与一个对应的分区相关,并且只包含这个月的数据(本例中的表按月分区)。
`detached` 目录存放着使用 [DETACH](#alter_detach-partition) 语句从表中分离的片段。损坏的片段也会移到该目录,而不是删除。服务器不使用`detached`目录中的片段。可以随时添加,删除或修改此目录中的数据 在运行 [ATTACH](../../../engines/table-engines/mergetree-family/custom-partitioning-key.md#alter_attach-partition) 语句前,服务器不会感知到。
`detached` 目录存放着使用 [DETACH](../../../sql-reference/statements/alter.md#alter_detach-partition) 语句从表中分离的片段。损坏的片段也会移到该目录,而不是删除。服务器不使用`detached`目录中的片段。可以随时添加,删除或修改此目录中的数据 在运行 [ATTACH](../../../engines/table-engines/mergetree-family/custom-partitioning-key.md#alter_attach-partition) 语句前,服务器不会感知到。
注意,在操作服务器时,你不能手动更改文件系统上的片段集或其数据,因为服务器不会感知到这些修改。对于非复制表,可以在服务器停止时执行这些操作,但不建议这样做。对于复制表,在任何情况下都不要更改片段文件。

View File

@ -1,4 +1,4 @@
# 物化视图 {#wu-hua-shi-tu}
# MaterializedView {#materializedview}
物化视图的使用(更多信息请参阅 [CREATE TABLE](../../../engines/table-engines/special/materializedview.md) )。它需要使用一个不同的引擎来存储数据,这个引擎要在创建物化视图时指定。当从表中读取时,它就会使用该引擎。

View File

@ -1,4 +1,4 @@
# 查看 {#view}
# 查看 {#table_engines-view}
用于构建视图(有关更多信息,请参阅 `CREATE VIEW 查询`)。 它不存储数据,仅存储指定的 `SELECT` 查询。 从表中读取时,它会运行此查询(并从查询中删除所有不必要的列)。

View File

@ -12,7 +12,7 @@ $ grep -q sse4_2 /proc/cpuinfo && echo "SSE 4.2 supported" || echo "SSE 4.2 not
要在不支持SSE 4.2或具有AArch64或PowerPC64LE体系结构的处理器上运行ClickHouse您应该[通过源构建ClickHouse](#from-sources)进行适当的配置调整。
## 可用的安装选项 {#ke-yong-de-an-zhuang-xuan-xiang}
## 可用的安装选项 {#install-from-deb-packages}
建议为Debian或Ubuntu使用官方的预编译`deb`软件包。 运行以下命令以安装软件包:

View File

@ -190,4 +190,69 @@ Restrictions on the «maximum amount of something» can take the value 0, which
当数据量超过其中一个限制时该怎么办: throwbreak. 默认情况下,扔。
## max\_rows\_in\_join {#settings-max_rows_in_join}
Limits the number of rows in the hash table that is used when joining tables.
This settings applies to [SELECT … JOIN](../../sql-reference/statements/select.md#select-join) operations and the [Join](../../engines/table-engines/special/join.md) table engine.
If a query contains multiple joins, ClickHouse checks this setting for every intermediate result.
ClickHouse can proceed with different actions when the limit is reached. Use the [join\_overflow\_mode](#settings-join_overflow_mode) setting to choose the action.
Possible values:
- Positive integer.
- 0 — Unlimited number of rows.
Default value: 0.
## max\_bytes\_in\_join {#settings-max_bytes_in_join}
Limits the size in bytes of the hash table used when joining tables.
This settings applies to [SELECT … JOIN](../../sql-reference/statements/select.md#select-join) operations and [Join table engine](../../engines/table-engines/special/join.md).
If the query contains joins, ClickHouse checks this setting for every intermediate result.
ClickHouse can proceed with different actions when the limit is reached. Use [join\_overflow\_mode](#settings-join_overflow_mode) settings to choose the action.
Possible values:
- Positive integer.
- 0 — Memory control is disabled.
Default value: 0.
## join\_overflow\_mode {#settings-join_overflow_mode}
Defines what action ClickHouse performs when any of the following join limits is reached:
- [max\_bytes\_in\_join](#settings-max_bytes_in_join)
- [max\_rows\_in\_join](#settings-max_rows_in_join)
Possible values:
- `THROW` — ClickHouse throws an exception and breaks operation.
- `BREAK` — ClickHouse breaks operation and doesnt throw an exception.
Default value: `THROW`.
**See Also**
- [JOIN clause](../../sql-reference/statements/select.md#select-join)
- [Join table engine](../../engines/table-engines/special/join.md)
## max\_bytes\_before\_external\_group\_by {#settings-max_bytes_before_external_group_by}
Enables or disables execution of `GROUP BY` clauses in external memory. See [GROUP BY in external memory](../../sql-reference/statements/select.md#select-group-by-in-external-memory).
Possible values:
- Maximum volume of RAM (in bytes) that can be used by the single [GROUP BY](../../sql-reference/statements/select.md#select-group-by-clause) operation.
- 0 — `GROUP BY` in external memory disabled.
Default value: 0.
[原始文章](https://clickhouse.tech/docs/en/operations/settings/query_complexity/) <!--hide-->

View File

@ -2,7 +2,7 @@
machine_translated: true
machine_translated_rev: b111334d6614a02564cf32f379679e9ff970d9b1
toc_priority: 60
toc_title: "\u8BBE\u7F6E"
toc_title: Settings
---
# 设置 {#settings}
@ -1199,4 +1199,9 @@ ClickHouse生成异常
默认值:空
## max\_result\_rows {#setting-max_result_rows}
Limit on the number of rows in the result. Also checked for subqueries, and on remote servers when running parts of a distributed query.
[原始文章](https://clickhouse.tech/docs/en/operations/settings/settings/) <!-- hide -->

View File

@ -1,3 +1,8 @@
---
toc_priority: 60
toc_title: clickhouse-local
---
# ツ环板-ョツ嘉ッツ偲 {#clickhouse-local}
`clickhouse-local` 程序使您能够对本地文件执行快速处理而无需部署和配置ClickHouse服务器。

View File

@ -51,6 +51,6 @@ WHERE a = 'b\0'
这种方式与MySQL的`CHAR`类型的方式不同MySQL中使用空格填充字符串并在输出时删除空格
请注意,`FixedString(N)`的长度是个常量。仅由空字符组成的字符串,函数[长度](../../sql-reference/data-types/fixedstring.md#array_functions-length)返回值为`N`,而函数[空](../../sql-reference/data-types/fixedstring.md#string_functions-empty)的返回值为`1`。
请注意,`FixedString(N)`的长度是个常量。仅由空字符组成的字符串,函数[length](../../sql-reference/functions/array-functions.md#array_functions-length)返回值为`N`,而函数[empty](../../sql-reference/functions/string-functions.md#empty)的返回值为`1`。
[来源文章](https://clickhouse.tech/docs/en/data_types/fixedstring/) <!--hide-->

View File

@ -2,14 +2,14 @@
固定长度的整型,包括有符号整型或无符号整型。
## 整型范围 {#zheng-xing-fan-wei}
## 整型范围 {#int-ranges}
- Int8-\[-128:127\]
- Int16-\[-32768:32767\]
- Int32-\[-2147483648:2147483647\]
- Int64-\[-9223372036854775808:9223372036854775807\]
## 无符号整型范围 {#wu-fu-hao-zheng-xing-fan-wei}
## 无符号整型范围 {#uint-ranges}
- UInt8-\[0:255\]
- UInt16-\[0:65535\]

View File

@ -110,13 +110,13 @@ SELECT format('{} {}', 'Hello', 'World')
└───────────────────────────────────┘
```
## concat(s1, s2, …) {#concats1-s2}
## concat(s1, s2, …) {#concat-s1-s2}
将参数中的多个字符串拼接,不带分隔符。
## concatAssumeInjective(s1, s2, …) {#concatassumeinjectives1-s2}
与[concat](./string-functions.md#concat-s1-s2)相同区别在于你需要保证concat(s1, s2, s3) -\> s4是单射的它将用于GROUP BY的优化。
与[concat](#concat-s1-s2)相同区别在于你需要保证concat(s1, s2, s3) -\> s4是单射的它将用于GROUP BY的优化。
## 子串(s,offset,length),mid(s,offset,length),substr(s,offset,length) {#substrings-offset-length-mids-offset-length-substrs-offset-length}

View File

@ -218,7 +218,7 @@ ALTER TABLE [db].name DROP CONSTRAINT constraint_name;
<!-- -->
#### 分离分区{#alter_detach-partition} {#detach-partition-alter-detach-partition}
#### DETACH PARTITION {#alter_detach-partition}
``` sql
ALTER TABLE table_name DETACH PARTITION partition_expr

View File

@ -114,7 +114,7 @@ FROM
- 表
- 子查询
- [表函数](../table-functions/index.md)
- [表函数](../table-functions/index.md#table-functions)
`ARRAY JOIN` 和常规 `JOIN` 也可以包括在内(见下文)。
@ -1058,7 +1058,7 @@ Code: 42. DB::Exception: Received from localhost:9000. DB::Exception: Number of
如果SELECT至少有一个数组列则不支持DISTINCT。
`DISTINCT` 适用于 [NULL](../syntax.md) 就好像 `NULL` 是一个特定的值,并且 `NULL=NULL`. 换句话说,在 `DISTINCT` 结果,不同的组合 `NULL` 只发生一次。
`DISTINCT` 适用于 [NULL](../syntax.md#null-literal) 就好像 `NULL` 是一个特定的值,并且 `NULL=NULL`. 换句话说,在 `DISTINCT` 结果,不同的组合 `NULL` 只发生一次。
ClickHouse支持使用 `DISTINCT``ORDER BY` 一个查询中不同列的子句。 该 `DISTINCT` 子句之前执行 `ORDER BY` 条款