Skip to content

Commit 30814b1

Browse files
committed
Fixes
1 parent 8a3209b commit 30814b1

File tree

4 files changed

+11
-13
lines changed

4 files changed

+11
-13
lines changed

ydb/docs/en/core/yql/reference/types/serial.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ REPLACE INTO users (user_hash, name, email) VALUES (111111111, 'John', 'john@exa
6262

6363
Result (example `user_hash` values are used):
6464

65-
| user_hash | email | name | user_id |
66-
|-------------|---------------------|-------|---------|
67-
| 123456789 | alice@example.com | Alice | 1 |
68-
| 987654321 | bob@example.com | Bob | 2 |
69-
| 111111111 | john@example.com | John | 3 |
65+
| user_hash | email | name | user_id |
66+
|-------------|-----------------------|-------|---------|
67+
| 123456789 | `alice@example.com` | Alice | 1 |
68+
| 987654321 | `bob@example.com` | Bob | 2 |
69+
| 111111111 | `john@example.com` | John | 3 |
7070

7171
You can also explicitly specify a value for the `Serial` column during insertion, for example, when restoring data. In this case, the insertion will work like with a regular integer column, and the `Sequence` will not be affected:
7272

ydb/docs/ru/core/yql/reference/syntax/alter-sequence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Изменяет параметры уже существующего объекта `Sequence`, привязанного к колонке [Serial](../types/serial.md) типа.
44

5-
## Синтаксис:
5+
## Синтаксис
66

77
```yql
88
ALTER SEQUENCE [ IF EXISTS ] path_to_sequence

ydb/docs/ru/core/yql/reference/syntax/create_table/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ WITH (
104104
105105
{% endif %}
106106
107-
{% endif %}
108-
109107
{% if feature_not_null == true %}
110108
111109
Без дополнительных модификаторов колонка приобретает [опциональный тип](../../types/optional.md), и допускает запись `NULL` в качестве значений. Для получения неопционального типа необходимо использовать `NOT NULL`.

ydb/docs/ru/core/yql/reference/types/serial.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ SELECT * FROM users;
6767

6868
Результат (значения `user_hash` приведены для примера):
6969

70-
| user_hash | email | name | user_id |
71-
|-------------|---------------------|-------|---------|
72-
| 123456789 | alice@example.com | Alice | 1 |
73-
| 987654321 | bob@example.com | Bob | 2 |
74-
| 111111111 | john@example.com | John | 3 |
70+
| user_hash | email | name | user_id |
71+
|-------------|-----------------------|-------|---------|
72+
| 123456789 | `alice@example.com` | Alice | 1 |
73+
| 987654321 | `bob@example.com` | Bob | 2 |
74+
| 111111111 | `john@example.com` | John | 3 |
7575

7676
Можно самостоятельно указать значение `Serial`-колонки при вставке, например для восстановления данных. В этом случае вставка будет выполняться, как с обычной целочисленной колонкой, и `Sequence` затрагиваться при таком запросе никак не будет:
7777

0 commit comments

Comments
 (0)