diff options
| author | alextarazanov <[email protected]> | 2022-11-01 10:42:09 +0300 |
|---|---|---|
| committer | alextarazanov <[email protected]> | 2022-11-01 10:42:09 +0300 |
| commit | f26ac0ccc1381599b868810a19966d2b3439a99d (patch) | |
| tree | 4888b119409bfcb4173ec82f4f6f432cc5a0c695 | |
| parent | 50069e9a3bf35bdbf0ddbbc7ed86513cbd923bdf (diff) | |
[review] [YDB] Check translate cdc changefeed
| -rw-r--r-- | ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/alter_table.md | 8 | ||||
| -rw-r--r-- | ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/alter_table.md | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/alter_table.md b/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/alter_table.md index 85a69ea2bdb..b0c030140bf 100644 --- a/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/alter_table.md +++ b/ydb/docs/en/core/yql/reference/yql-core/syntax/_includes/alter_table.md @@ -52,11 +52,11 @@ You can also add or remove a secondary index using the {{ ydb-short-name }} CLI ## Adding and deleting a changefeed {#changefeed} -`ADD CHANGEFEED <name> WITH (option = value[, ...])` adds a [changefeed](../../../../concepts/cdc) with the specified name and parameters. +`ADD CHANGEFEED <name> WITH (option = value[, ...])`: Adds a [changefeed](../../../../concepts/cdc) with the specified name and options. -### Changefeed parameters {#changefeed-options} +**Changefeed options** -* `MODE`: Operation mode. Specifies what exactly is to be written to a changefeed each time the table data is altered. +* `MODE`: Operation mode. Specifies what to write to a changefeed each time table data is altered. * `KEYS_ONLY`: Only the primary key components and change flag are written. * `UPDATES`: Updated column values that result from updates are written. * `NEW_IMAGE`: Any column values resulting from updates are written. @@ -65,7 +65,7 @@ You can also add or remove a secondary index using the {{ ydb-short-name }} CLI * `FORMAT`: Data write format. * `JSON`: The record structure is given on the [changefeed description](../../../../concepts/cdc#record-structure) page. -The code below adds a changefeed named `updates_feed` where the values of updated table columns will be exported in JSON format: +The code below adds a changefeed named `updates_feed`, where the values of updated table columns will be exported in JSON format: ```sql ALTER TABLE `series` ADD CHANGEFEED `updates_feed` WITH ( diff --git a/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/alter_table.md b/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/alter_table.md index 83f35bf1fe5..320f36ce2c7 100644 --- a/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/alter_table.md +++ b/ydb/docs/ru/core/yql/reference/yql-core/syntax/_includes/alter_table.md @@ -50,7 +50,7 @@ ALTER TABLE `series` DROP INDEX `title_index`; {% if feature_changefeed %} -## Добавление или удаление потока изменений{#changefeed} +## Добавление или удаление потока изменений {#changefeed} `ADD CHANGEFEED <name> WITH (option = value[, ...])` — добавляет [поток изменений (changefeed)](../../../../concepts/cdc) с указанным именем и параметрами. |
