diff options
author | brgayazov <[email protected]> | 2023-10-26 14:55:59 +0300 |
---|---|---|
committer | brgayazov <[email protected]> | 2023-10-26 15:33:45 +0300 |
commit | 9ee23487b62dec01c57347daf2ae73b3db29f0b8 (patch) | |
tree | 7ef463ad9a84ca8be9f223602ad98d3bedd5ce14 | |
parent | a23a5218e640117e0edfb16eaaf956393dfcfa81 (diff) |
Added YDB CLI 2.7.0 release notes
12 files changed, 80 insertions, 10 deletions
diff --git a/ydb/docs/en/core/changelog-cli.md b/ydb/docs/en/core/changelog-cli.md index 9944b5d58ce..6475dd5ae02 100644 --- a/ydb/docs/en/core/changelog-cli.md +++ b/ydb/docs/en/core/changelog-cli.md @@ -2,8 +2,40 @@ # {{ ydb-short-name }} CLI changelog +## Version 2.7.0 {#2-7-0} + +Released on October 23, 2023. To update to version **2.7.0**, select the [Downloads](downloads/index.md#ydb-cli) section. + +**Features:** + +* Added the `ydb tools pg-convert` command, which prepares a dump obtained by the [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) utility for loading into the YDB postgres-compatible layer. + +* Added the `ydb workload query` load testing command, which loads the database with [script execution queries](reference/ydb-cli/yql.md) in multiple threads. + +* Added a command `ydb scheme permissions list` to list permissions. + +* In the commands [ydb table query execute](reference/ydb-cli/table-query-execute.md), [ydb table query explain](reference/ydb-cli/commands/explain-plan.md), [ydb yql](reference/ydb-cli/yql.md), and [ydb scripting yql](reference/ydb-cli/scripting-yql.md), the `--flame-graph` option has been added, specifying the path to the file in which you need to save the visualization of query execution statistics. + +* [Special commands](reference/ydb-cli/interactive-cli.md#spec-commands) in the interactive query execution mode are now case-insensitive. + +* Added validation for [special commands](reference/ydb-cli/interactive-cli.md#spec-commands) and their [parameters](reference/ydb-cli/interactive-cli.md#internal-vars). + +* Added table reading in the scenario with transactions in the command `ydb workload transfer topic-to-table run`. + +* Added the `--commit-messages` option to the command `ydb workload transfer topic-to-table run`, specifying the number of messages in a single transaction. + +* Added the options `--only-table-in-tx` and `--only-topic-in-tx` in the command `ydb workload transfer topic-to-table run`, specifying restrictions on the types of queries in a single transaction. + +* Added new columns `Select time` and `Upsert time` in the statistics table in the command `ydb workload transfer topic-to-table run`. + +**Bug fixes:** + +* Fixed an error when loading an empty JSON list by commands: [ydb table query execute](reference/ydb-cli/table-query-execute.md), [ydb scripting yql](reference/ydb-cli/scripting-yql.md) and [ydb yql](reference/ydb-cli/yql.md). + ## Version 2.6.0 {#2-6-0} +Released on September 7, 2023. To update to version **2.6.0**, select the [Downloads](downloads/index.md#ydb-cli) section. + **Features:** * Added `--path` option to [ydb workload tpch run](reference/ydb-cli/workload-tpch.md#run), which contains the path to the directory with tables created by the [ydb workload tpch init](reference/ydb-cli/workload-tpch.md#init) command. diff --git a/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_amd64.md b/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_amd64.md index d941c953eb0..6d03a5d67b2 100644 --- a/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_amd64.md +++ b/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_amd64.md @@ -1,6 +1,7 @@ | Version | Release date | Download | Changelog | :--- | :--- | :--- | :--- -| v.2.6.0 | 07/08/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-6-0) | +| v.2.7.0 | 23/10/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-7-0) | +| v.2.6.0 | 07/09/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-6-0) | | v.2.5.0 | 20/06/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-5-0) | | v.2.4.0 | 24/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-4-0) | | v.2.3.0 | 01/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-3-0) | diff --git a/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_arm64.md b/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_arm64.md index 0e2166cd851..04842168eb2 100644 --- a/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_arm64.md +++ b/ydb/docs/en/core/downloads/_includes/ydb-cli/darwin_arm64.md @@ -1,6 +1,7 @@ | Version | Release date | Download | Changelog | :--- | :--- | :--- | :--- -| v.2.6.0 | 07/08/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/arm64/ydb) | [See the changelog](../../../changelog-cli.md#2-6-0) | +| v.2.7.0 | 23/10/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/darwin/arm64/ydb) | [See the changelog](../../../changelog-cli.md#2-7-0) | +| v.2.6.0 | 07/09/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/arm64/ydb) | [See the changelog](../../../changelog-cli.md#2-6-0) | | v.2.5.0 | 20/06/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/darwin/arm64/ydb) | [See the changelog](../../../changelog-cli.md#2-5-0) | | v.2.4.0 | 24/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/darwin/arm64/ydb) | [See the changelog](../../../changelog-cli.md#2-4-0) | | v.2.3.0 | 01/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/darwin/arm64/ydb) | [See the changelog](../../../changelog-cli.md#2-3-0) | diff --git a/ydb/docs/en/core/downloads/_includes/ydb-cli/linux.md b/ydb/docs/en/core/downloads/_includes/ydb-cli/linux.md index c4e7608b45f..707fdba5f48 100644 --- a/ydb/docs/en/core/downloads/_includes/ydb-cli/linux.md +++ b/ydb/docs/en/core/downloads/_includes/ydb-cli/linux.md @@ -1,6 +1,7 @@ | Version | Release date | Download | Changelog | :--- | :--- | :--- | :--- -| v.2.6.0 | 07/08/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-6-0) | +| v.2.7.0 | 23/10/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-7-0) | +| v.2.6.0 | 07/09/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-6-0) | | v.2.5.0 | 20/06/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-5-0) | | v.2.4.0 | 24/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-4-0) | | v.2.3.0 | 01/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-3-0) | diff --git a/ydb/docs/en/core/downloads/_includes/ydb-cli/windows.md b/ydb/docs/en/core/downloads/_includes/ydb-cli/windows.md index 2de90ed4bcf..63cac94b637 100644 --- a/ydb/docs/en/core/downloads/_includes/ydb-cli/windows.md +++ b/ydb/docs/en/core/downloads/_includes/ydb-cli/windows.md @@ -1,6 +1,7 @@ | Version | Release date | Download | Changelog | :--- | :--- | :--- | :--- -| v.2.6.0 | 07/08/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-6-0) | +| v.2.7.0 | 23/10/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-7-0) | +| v.2.6.0 | 07/09/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-6-0) | | v.2.5.0 | 20/06/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-5-0) | | v.2.4.0 | 24/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-4-0) | | v.2.3.0 | 01/05/2023 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-3-0) | diff --git a/ydb/docs/en/core/reference/ydb-cli/interactive-cli.md b/ydb/docs/en/core/reference/ydb-cli/interactive-cli.md index 8910bbcbec0..64ec8e99a54 100644 --- a/ydb/docs/en/core/reference/ydb-cli/interactive-cli.md +++ b/ydb/docs/en/core/reference/ydb-cli/interactive-cli.md @@ -22,7 +22,7 @@ Hotkey | Description ## Special commands {#spec-commands} -Special commands are CLI-specific commands and are not part of the YQL syntax. They are intended for performing various functions that cannot be accomplished through a YQL query. Special commands are case sensitive. +Special commands are CLI-specific commands and are not part of the YQL syntax. They are intended for performing various functions that cannot be accomplished through a YQL query. Command | Description ---|--- diff --git a/ydb/docs/ru/core/changelog-cli.md b/ydb/docs/ru/core/changelog-cli.md index 6b57fc94c0d..5eaf9551a85 100644 --- a/ydb/docs/ru/core/changelog-cli.md +++ b/ydb/docs/ru/core/changelog-cli.md @@ -2,6 +2,36 @@ # Список изменений {{ ydb-short-name }} CLI +## Версия 2.7.0 {#2-7-0} + +Дата выхода 23 октября 2023. Для обновления до версии **2.7.0** перейдите в раздел [Загрузки](downloads/index.md#ydb-cli). + +**Функциональность:** + +* Добавлена команда `ydb tools pg-convert`, выполняющая подготовку дампа, полученного утилитой [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html), к загрузке в postgres-совместимую прослойку YDB. + +* Добавлена команда нагрузочного тестирования `ydb workload query`, которая нагружает базу [запросами выполнения скрипта](reference/ydb-cli/yql.md) в несколько потоков. + +* Добавлена команда для просмотра списка разрешений `ydb scheme permissions list`. + +* В командах [ydb table query execute](reference/ydb-cli/table-query-execute.md), [ydb table query explain](reference/ydb-cli/commands/explain-plan.md), [ydb yql](reference/ydb-cli/yql.md) и [ydb scripting yql](reference/ydb-cli/scripting-yql.md) добавлена опция `--flame-graph`, задающая путь до файла, в котором необходимо сохранить визуализацию статистики выполнения запросов. + +* [Специальные команды](reference/ydb-cli/interactive-cli.md#spec-commands) интерактивного режима выполнения запросов теперь не чувствительны к регистру. + +* Добавлена валидация [специальных команд](reference/ydb-cli/interactive-cli.md#spec-commands) и их [параметров](reference/ydb-cli/interactive-cli.md#internal-vars). + +* Добавлено чтение из таблицы в сценарии с транзакциями в команде [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run). + +* Добавлена опция `--commit-messages` в команде [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run), задающая число сообщений в одной транзакции. + +* Добавлены опции `--only-table-in-tx` и `--only-topic-in-tx` в команде [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run), задающие ограничения на виды запросов в одной транзакции. + +* Добавлены новые колонки `Select time` и `Upsert time` в таблице статистики в команде [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run). + +**Исправления ошибок:** + +* Исправлена ошибка при загрузке пустого JSON списка командами [ydb table query execute](reference/ydb-cli/table-query-execute.md), [ydb scripting yql](reference/ydb-cli/scripting-yql.md) и [ydb yql](reference/ydb-cli/yql.md). + ## Версия 2.6.0 {#2-6-0} Дата выхода 7 сентября 2023. Для обновления до версии **2.6.0** перейдите в раздел [Загрузки](downloads/index.md#ydb-cli). diff --git a/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_amd64.md b/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_amd64.md index 752ef4392af..81b51eb78c6 100644 --- a/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_amd64.md +++ b/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_amd64.md @@ -1,6 +1,7 @@ Версия | Дата выпуска | Скачать | Список изменений :--- | :--- | :--- | :--- -v.2.6.0 | 07.08.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-6-0) +v.2.7.0 | 23.10.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-7-0) +v.2.6.0 | 07.09.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-6-0) v.2.5.0 | 20.06.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-5-0) v.2.4.0 | 24.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-4-0) v.2.3.0 | 01.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-3-0) diff --git a/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_arm64.md b/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_arm64.md index 5a6b3f80217..0c0c5edddc3 100644 --- a/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_arm64.md +++ b/ydb/docs/ru/core/downloads/_includes/ydb-cli/darwin_arm64.md @@ -1,6 +1,7 @@ Версия | Дата выпуска | Скачать | Список изменений :--- | :--- | :--- | :--- -v.2.6.0 | 07.08.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/arm64/ydb) | [См. список](../../../changelog-cli.md#2-6-0) +v.2.7.0 | 23.10.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/darwin/arm64/ydb) | [См. список](../../../changelog-cli.md#2-7-0) +v.2.6.0 | 07.09.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/darwin/arm64/ydb) | [См. список](../../../changelog-cli.md#2-6-0) v.2.5.0 | 20.06.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/darwin/arm64/ydb) | [См. список](../../../changelog-cli.md#2-5-0) v.2.4.0 | 24.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/darwin/arm64/ydb) | [См. список](../../../changelog-cli.md#2-4-0) v.2.3.0 | 01.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/darwin/arm64/ydb) | [См. список](../../../changelog-cli.md#2-3-0) diff --git a/ydb/docs/ru/core/downloads/_includes/ydb-cli/linux.md b/ydb/docs/ru/core/downloads/_includes/ydb-cli/linux.md index cfae53c18a4..8391f15454f 100644 --- a/ydb/docs/ru/core/downloads/_includes/ydb-cli/linux.md +++ b/ydb/docs/ru/core/downloads/_includes/ydb-cli/linux.md @@ -1,6 +1,7 @@ Версия | Дата выпуска | Скачать | Список изменений :--- | :--- | :--- | :--- -v.2.6.0 | 07.08.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-6-0) +v.2.7.0 | 23.10.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-7-0) +v.2.6.0 | 07.09.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-6-0) v.2.5.0 | 20.06.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-5-0) v.2.4.0 | 24.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-4-0) v.2.3.0 | 01.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-3-0) diff --git a/ydb/docs/ru/core/downloads/_includes/ydb-cli/windows.md b/ydb/docs/ru/core/downloads/_includes/ydb-cli/windows.md index 4d3b559ccd7..f6a86da69b8 100644 --- a/ydb/docs/ru/core/downloads/_includes/ydb-cli/windows.md +++ b/ydb/docs/ru/core/downloads/_includes/ydb-cli/windows.md @@ -1,6 +1,7 @@ Версия | Дата выпуска | Скачать | Список изменений :--- | :--- | :--- | :--- -v.2.6.0 | 07.08.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-6-0) +v.2.7.0 | 23.10.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.7.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-7-0) +v.2.6.0 | 07.09.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.6.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-6-0) v.2.5.0 | 20.06.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.5.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-5-0) v.2.4.0 | 24.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.4.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-4-0) v.2.3.0 | 01.05.23 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.3.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-3-0) diff --git a/ydb/docs/ru/core/reference/ydb-cli/interactive-cli.md b/ydb/docs/ru/core/reference/ydb-cli/interactive-cli.md index 356d356bfe2..afb70775d69 100644 --- a/ydb/docs/ru/core/reference/ydb-cli/interactive-cli.md +++ b/ydb/docs/ru/core/reference/ydb-cli/interactive-cli.md @@ -22,7 +22,7 @@ ## Специальные команды {#spec-commands} -Специальные команды специфичны для CLI и не являются частью синтаксиса YQL. Они предназначены для выполнения различных функций, которые нельзя выполнить через YQL запрос. Специальные команды чувствительны к регистру. +Специальные команды специфичны для CLI и не являются частью синтаксиса YQL. Они предназначены для выполнения различных функций, которые нельзя выполнить через YQL запрос. Команда | Описание ---|--- |