From a019e4509398301f1b4942510da5a611e0910e30 Mon Sep 17 00:00:00 2001 From: Aleksey Akulovich Date: Sun, 20 Oct 2019 07:43:54 +0300 Subject: [PATCH] fix typos in docs and comment (#7385) --- dbms/src/Storages/MergeTree/MergeTreeIndexFullText.h | 2 +- docs/en/query_language/create.md | 2 +- docs/ru/query_language/create.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dbms/src/Storages/MergeTree/MergeTreeIndexFullText.h b/dbms/src/Storages/MergeTree/MergeTreeIndexFullText.h index e276d811cd9..196b4df9eda 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeIndexFullText.h +++ b/dbms/src/Storages/MergeTree/MergeTreeIndexFullText.h @@ -206,7 +206,7 @@ public: size_t bloom_filter_hashes; /// Bloom filter seed. size_t seed; - /// Fucntion for selecting next token. + /// Function for selecting next token. std::unique_ptr token_extractor_func; }; diff --git a/docs/en/query_language/create.md b/docs/en/query_language/create.md index 0b400adca30..9a0f694fc42 100644 --- a/docs/en/query_language/create.md +++ b/docs/en/query_language/create.md @@ -55,7 +55,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name AS [db2.]name2 [ENGINE = engine] Creates a table with the same structure as another table. You can specify a different engine for the table. If the engine is not specified, the same engine will be used as for the `db2.name2` table. ```sql -CREATE TABLE [IF NOT EXISTS] [db.]table_name AS table_fucntion() +CREATE TABLE [IF NOT EXISTS] [db.]table_name AS table_function() ``` Creates a table with the structure and data returned by a [table function](table_functions/index.md). diff --git a/docs/ru/query_language/create.md b/docs/ru/query_language/create.md index a752163aca5..71fe71abbf2 100644 --- a/docs/ru/query_language/create.md +++ b/docs/ru/query_language/create.md @@ -52,7 +52,7 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name AS [db2.]name2 [ENGINE = engine] Создаёт таблицу с такой же структурой, как другая таблица. Можно указать другой движок для таблицы. Если движок не указан, то будет выбран такой же движок, как у таблицы `db2.name2`. ```sql -CREATE TABLE [IF NOT EXISTS] [db.]table_name AS table_fucntion() +CREATE TABLE [IF NOT EXISTS] [db.]table_name AS table_function() ``` Создаёт таблицу с такой же структурой и данными, как результат соответствующей табличной функцией.