aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Udovichenko <rvu@ydb.tech>2025-03-14 03:26:13 +0300
committerGitHub <noreply@github.com>2025-03-13 17:26:13 -0700
commit7778cd274683ce11e318b799ea12c7bc0b3a4bdd (patch)
tree65ec693abc753931a708e71c134fb6a6e39b89e9
parent6185a388040840e604fded1bef22227604d9a68e (diff)
downloadydb-7778cd274683ce11e318b799ea12c7bc0b3a4bdd.tar.gz
Fix linter issues (#15719)
-rw-r--r--ydb/docs/en/core/yql/reference/syntax/create_table/index.md2
-rw-r--r--ydb/docs/en/core/yql/reference/syntax/insert_into.md2
-rw-r--r--ydb/docs/ru/core/yql/reference/syntax/create_table/index.md2
-rw-r--r--ydb/docs/ru/core/yql/reference/syntax/insert_into.md2
-rw-r--r--ydb/docs/ru/core/yql/reference/types/primitive.md10
5 files changed, 9 insertions, 9 deletions
diff --git a/ydb/docs/en/core/yql/reference/syntax/create_table/index.md b/ydb/docs/en/core/yql/reference/syntax/create_table/index.md
index 7f6f9658a6..6ce90df5e8 100644
--- a/ydb/docs/en/core/yql/reference/syntax/create_table/index.md
+++ b/ydb/docs/en/core/yql/reference/syntax/create_table/index.md
@@ -8,7 +8,7 @@ The table is automatically created upon the first [INSERT INTO](../insert_into.m
{% else %}
-The invocation of `CREATE TABLE` creates {% if concept_table %}a [table]({{ concept_table }}){% else %}a table{% endif %} with the specified data schema{% if feature_map_tables %} and primary key columns (`PRIMARY KEY`){% endif %}. {% if feature_secondary_index == true %}It also allows defining secondary indexes on the created table.
+The invocation of `CREATE TABLE` creates {% if concept_table %}a [table]({{ concept_table }}){% else %}a table{% endif %} with the specified data schema{% if feature_map_tables %} and primary key columns (`PRIMARY KEY`){% endif %}.{% if feature_secondary_index == true %} It also allows defining secondary indexes on the created table.
{% endif %}
diff --git a/ydb/docs/en/core/yql/reference/syntax/insert_into.md b/ydb/docs/en/core/yql/reference/syntax/insert_into.md
index 8ca50f196e..bd6992f984 100644
--- a/ydb/docs/en/core/yql/reference/syntax/insert_into.md
+++ b/ydb/docs/en/core/yql/reference/syntax/insert_into.md
@@ -20,7 +20,7 @@ Available methods for loading data into columnar tables:
{% endif %}
-{% if select_command != "SELECT STREAM" %} Adds rows to the table. {% if feature_bulk_tables %} If the target table already exists and is not sorted, the operation `INSERT INTO` adds rows at the end of the table. In the case of a sorted table, YQL tries to preserve sorting by running a sorted merge. {% endif %}{% if feature_map_tables %} If you try to insert a row into a table with an existing primary key value, the operation fails with the `PRECONDITION_FAILED` error code and the `Operation aborted due to constraint violation: insert_pk` message returned.{% endif %}
+{% if select_command != "SELECT STREAM" %} Adds rows to the table.{% if feature_bulk_tables %} If the target table already exists and is not sorted, the operation `INSERT INTO` adds rows at the end of the table. In the case of a sorted table, YQL tries to preserve sorting by running a sorted merge. {% endif %}{% if feature_map_tables %} If you try to insert a row into a table with an existing primary key value, the operation fails with the `PRECONDITION_FAILED` error code and the `Operation aborted due to constraint violation: insert_pk` message returned.{% endif %}
{% if feature_mapreduce %}The table is searched by name in the database specified by the [USE](use.md) operator.{% endif %}
diff --git a/ydb/docs/ru/core/yql/reference/syntax/create_table/index.md b/ydb/docs/ru/core/yql/reference/syntax/create_table/index.md
index 5a69083656..0b89bc3791 100644
--- a/ydb/docs/ru/core/yql/reference/syntax/create_table/index.md
+++ b/ydb/docs/ru/core/yql/reference/syntax/create_table/index.md
@@ -8,7 +8,7 @@
{% else %}
-Вызов `CREATE TABLE` создает {% if concept_table %}[таблицу]({{ concept_table }}){% else %}таблицу{% endif %} с указанной схемой данных{% if feature_map_tables %} и ключевыми колонками (`PRIMARY KEY`){% endif %}. {% if feature_secondary_index == true %}Позволяет определить вторичные индексы на создаваемой таблице.
+Вызов `CREATE TABLE` создает {% if concept_table %}[таблицу]({{ concept_table }}){% else %}таблицу{% endif %} с указанной схемой данных{% if feature_map_tables %} и ключевыми колонками (`PRIMARY KEY`){% endif %}.{% if feature_secondary_index == true %} Позволяет определить вторичные индексы на создаваемой таблице.
{% endif %}
diff --git a/ydb/docs/ru/core/yql/reference/syntax/insert_into.md b/ydb/docs/ru/core/yql/reference/syntax/insert_into.md
index b2b1030cd4..e360a6bcd8 100644
--- a/ydb/docs/ru/core/yql/reference/syntax/insert_into.md
+++ b/ydb/docs/ru/core/yql/reference/syntax/insert_into.md
@@ -14,7 +14,7 @@
{% endif %}
{% if select_command != "SELECT STREAM" %}
-Добавляет строки в {% if oss == true and backend_name == "YDB" %}строковую{% endif %} таблицу. {% if feature_bulk_tables %} Если целевая таблица уже существует и не является сортированной, операция `INSERT INTO` дописывает строки в конец таблицы. В случае сортированной таблицы, YQL пытается сохранить сортированность путем запуска сортированного слияния. {% endif %}{% if feature_map_tables %} При попытке вставить в таблицу строку с уже существующим значением первичного ключа операция завершится ошибкой с кодом `PRECONDITION_FAILED` и текстом `Operation aborted due to constraint violation: insert_pk`.{% endif %}
+Добавляет строки в {% if oss == true and backend_name == "YDB" %}строковую{% endif %} таблицу.{% if feature_bulk_tables %} Если целевая таблица уже существует и не является сортированной, операция `INSERT INTO` дописывает строки в конец таблицы. В случае сортированной таблицы, YQL пытается сохранить сортированность путем запуска сортированного слияния. {% endif %}{% if feature_map_tables %} При попытке вставить в таблицу строку с уже существующим значением первичного ключа операция завершится ошибкой с кодом `PRECONDITION_FAILED` и текстом `Operation aborted due to constraint violation: insert_pk`.{% endif %}
{% if feature_mapreduce %}Таблица по имени ищется в базе данных, заданной оператором [USE](use.md).{% endif %}
diff --git a/ydb/docs/ru/core/yql/reference/types/primitive.md b/ydb/docs/ru/core/yql/reference/types/primitive.md
index 581365d89e..8676cab095 100644
--- a/ydb/docs/ru/core/yql/reference/types/primitive.md
+++ b/ydb/docs/ru/core/yql/reference/types/primitive.md
@@ -17,11 +17,11 @@
`Uint16` | Беззнаковое целое число.<br/>Допустимые значения: от 0 до 2<sup>16</sup>–1. |
`Uint32` | Беззнаковое целое число.<br/>Допустимые значения: от 0 до 2<sup>32</sup>–1. |
`Uint64` | Беззнаковое целое число.<br/>Допустимые значения: от 0 до 2<sup>64</sup>–1. |
-`Float` | Вещественное число с переменной точностью размером 4 байта. | {% if feature_map_tables %}Не может быть использован в первичном ключе{% endif %}
-`Double` | Вещественное число с переменной точностью размером 8 байт. | {% if feature_map_tables %}Не может быть использован в первичном ключе{% endif %}
-`Decimal` | Вещественное число с указанной точностью, до 35 десятичных знаков | {% if feature_map_tables %}При использовании в колонках таблиц точность фиксирована: Decimal (22,9).{% endif %}
+`Float` | Вещественное число с переменной точностью размером 4 байта. |{% if feature_map_tables %} Не может быть использован в первичном ключе{% endif %}
+`Double` | Вещественное число с переменной точностью размером 8 байт. |{% if feature_map_tables %} Не может быть использован в первичном ключе{% endif %}
+`Decimal` | Вещественное число с указанной точностью, до 35 десятичных знаков |{% if feature_map_tables %} При использовании в колонках таблиц точность фиксирована: Decimal (22,9).{% endif %}
{% if feature_map_tables %}
-`DyNumber` | Бинарное представление вещественного числа точностью до 38 знаков.<br/>Допустимые значения: положительные от 1×10<sup>-130</sup> до 1×10<sup>126</sup>–1, отрицательные от -1×10<sup>126</sup>–1 до -1×10<sup>-130</sup> и 0.<br/>Совместим с типом `Number` AWS DynamoDB. Не рекомендуется для использования в {{ backend_name_lower }}-native приложениях. |
+`DyNumber` | Бинарное представление вещественного числа точностью до 38 знаков.<br/>Допустимые значения: положительные от 1×10<sup>-130</sup> до 1×10<sup>126</sup>–1, отрицательные от -1×10<sup>126</sup>–1 до -1×10<sup>-130</sup> и 0.<br/>Совместим с типом `Number` AWS DynamoDB. Не рекомендуется для использования в {{ backend_name_lower }}-native приложениях. |
{% endif %}
@@ -61,7 +61,7 @@
`Date` | Дата, точность до дней | Диапазон значений для всех временных типов кроме `Interval` - от нуля часов 01.01.1970 до нуля часов 01.01.2106. Внутреннее представление `Date` – беззнаковое целое 16 бит |
`Datetime` | Дата/время, точность до секунд | Внутреннее представление – беззнаковое целое 32 бит |
`Timestamp` | Дата/время, точность до микросекунд | Внутреннее представление – беззнаковое целое 64 бит |
-`Interval` | Интервал времени (знаковый), точность до микросекунд | Диапазон значений – от -136 лет до +136 лет. Внутреннее представление – знаковое целое 64 бит. {% if feature_map_tables %}Не может быть использован в первичном ключе{% endif %}
+`Interval` | Интервал времени (знаковый), точность до микросекунд | Диапазон значений – от -136 лет до +136 лет. Внутреннее представление – знаковое целое 64 бит.{% if feature_map_tables %} Не может быть использован в первичном ключе{% endif %}
`TzDate` | Дата с меткой временной зоны, точность до дней | Не поддерживается в столбцах таблиц
`TzDateTime` | Дата/время с меткой временной зоны, точность до секунд | Не поддерживается в столбцах таблиц
`TzTimestamp` | Дата/время с меткой временной зоны, точность до микросекунд | Не поддерживается в столбцах таблиц