Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish YDB CLI 2.18.0 #13104

Merged
merged 9 commits into from
Dec 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ydb/apps/ydb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

## 2.18.0 ##

* Query plan and statistics improvements:
* Expression and attributes added to various operator properties (i.e. GroupBy)
* Per operator statistics (Rows)
* Statistics from Column Shards (Rows and Bytes)
* _awaiting release ydb server 24.4_ Query plan and statistics provide additional information:
* Expression and attributes added to various operator properties (e.g., `GroupBy`)
* Per-operator statistics (Rows)
* Statistics for [column-oriented tables](./concepts/datamodel/table.md#column-oriented-tables) (Rows and Bytes)
* Fixed a bug where `ydb workload * run` command could crash in `--dry-run` mode.
* Added support for views in local backups: `ydb tools dump` and `ydb tools restore`. Views are backed up as `CREATE VIEW` queries saved in the `create_view.sql` files, which can be executed to recreate the original views.
* Replaced option `--query-settings` by `--query-prefix` one in `ydb workload <workload> run`.
Expand Down
23 changes: 23 additions & 0 deletions ydb/docs/en/core/changelog-cli.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# {{ ydb-short-name }} CLI changelog

## Version 2.18.0 {#2-18-0}

Released on December 24, 2024. To update to version **2.18.0**, select the [Downloads](downloads/index.md#ydb-cli) section.

### Features

* Added support for [views](./concepts/datamodel/view) in local backups: `ydb tools dump` and `ydb tools restore`. Views are backed up as `CREATE VIEW` queries saved in the `create_view.sql` files, which can be executed to recreate the original views.
* Added new options to the `ydb workload topic run` [command](./reference/ydb-cli/workload-topic#run-write): `--tx-commit-interval` and `--tx-commit-messages`, allowing you to specify the interval between transaction commits in milliseconds or in the number of messages written, respectively.
* Made the `--consumer` flag in the `ydb topic read` [command](./reference/ydb-cli/topic-read) optional. In the non-subscriber reading mode, the partition IDs must be specified with the `--partition-ids` option. In this case, the read is performed without saving the offset commit.
* The `ydb import file csv` [command]((./reference/ydb-cli/export-import/import-file)) now saves the import progress. Relaunching the import command will resume the process from the row where it was interrupted.
* In the `ydb workload kv` and `ydb workload stock` commands, the default value of the `--executer` option has been changed to `generic`, which makes them no longer rely on the legacy query execution infrastructure.
* Replaced the CSV format with Parquet for filling tables in `ydb workload` benchmarks.

### Backward incompatible changes

* Replaced the `--query-settings` option with `--query-prefix` in `ydb workload * run`.

### Bug fixes

* Fixed a bug where the `ydb workload * run` command could crash in `--dry-run` mode.
* Fixed a bug in `ydb import file csv` where multiple columns with escaped quotes in the same row were parsed incorrectly.


## Version 2.17.0 {#2-17-0}

Released on December 4, 2024. To update to version **2.17.0**, select the [Downloads](downloads/index.md#ydb-cli) section.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Version | Release date | Download | Changelog |
:--- | :--- | :--- | :---
| v.2.18.0 | 24/12/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.18.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-18-0) |
| v.2.17.0 | 04/12/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.17.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-17-0) |
| v.2.16.0 | 26/11/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.16.0/darwin/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-16-0) |
| v.2.15.0 | 17/10/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.15.0/darwin/amd64/ydb) |
Expand Down
1 change: 1 addition & 0 deletions ydb/docs/en/core/downloads/_includes/ydb-cli/linux.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Version | Release date | Download | Changelog |
:--- | :--- | :--- | :---
| v.2.18.0 | 24/12/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.18.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-18-0) |
| v.2.17.0 | 04/12/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.17.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-17-0) |
| v.2.16.0 | 26/11/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.16.0/linux/amd64/ydb) | [See the changelog](../../../changelog-cli.md#2-16-0) |
| v.2.15.0 | 17/10/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.15.0/linux/amd64/ydb) |
Expand Down
1 change: 1 addition & 0 deletions ydb/docs/en/core/downloads/_includes/ydb-cli/windows.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
| Version | Release date | Download | Changelog |
:--- | :--- | :--- | :---
| v.2.18.0 | 24/12/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.18.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-18-0) |
| v.2.17.0 | 04/12/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.17.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-17-0) |
| v.2.16.0 | 26/11/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.16.0/windows/amd64/ydb.exe) | [See the changelog](../../../changelog-cli.md#2-16-0) |
| v.2.15.0 | 17/10/2024 | [Binary file](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.15.0/windows/amd64/ydb.exe) |
Expand Down
22 changes: 22 additions & 0 deletions ydb/docs/ru/core/changelog-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

# Список изменений {{ ydb-short-name }} CLI

## Версия 2.18..0 {#2-18-0}

Дата выхода 24 декабря 2024. Для обновления до версии **2.18.0** перейдите в раздел [Загрузки](downloads/index.md#ydb-cli).

### Функциональность

* Добавлена поддержка [представлений (VIEW)](./concepts/datamodel/view) при выполнении операций резервного копирования `ydb tools dump` и восстановления `ydb tools restore`. Представления сохраняются в файл "create_view.sql" в виде запросов `CREATE VIEW`, которые будут выполнены для восстановления.
* В [команду](./reference/ydb-cli/workload-topic#run-write) `ydb workload topic run` добавлены опции `--tx-commit-interval` и `--tx-commit-messages`, которые задают интервал между коммитами транзакций в миллисекундах и в количестве записанных сообщений соответственно.
* В [команде](./reference/ydb-cli/topic-read) `ydb topic read` параметр `--consumer` перестал быть обязательным. В режиме чтения без подписчика обязательно должны быть указаны идентификаторы партиций с помощью параметра `--partition-ids`. Чтение в этом случае выполняется без сохранения коммита оффсетов.
* [Команда](./reference/ydb-cli/export-import/import-file) `ydb import file csv` теперь сохраняет прогресс выполнения. Повторный запуск команды импорта продолжится с той строки, на которой она была прервана.
* В командах `ydb workload kv` и `ydb workload stock` значение параметра `--executer` по умолчанию изменено на "generic", благодаря чему они больше не используют устаревшую инфраструктуру выполнения запросов.
* Изменен формат загрузки данных в таблицы для нагрузочных тестов `ydb workload` с CSV на Parquet.

### Изменения с потерей обратной совместимости

* В команде `ydb workload * run` параметр `--query-settings` заменен на `--query-prefix`.

### Исправления ошибок

* Исправлена ошибка, из-за которой команда `ydb workload * run` в режиме `--dry-run` могла приводить к сбою.
* Исправлена ошибка в `ydb import file csv`, из-за которой несколько столбцов с экранированными кавычками в одной строке обрабатывались неправильно.

## Версия 2.17.0 {#2-17-0}

Дата выхода 4 декабря 2024. Для обновления до версии **2.17.0** перейдите в раздел [Загрузки](downloads/index.md#ydb-cli).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Версия | Дата выпуска | Скачать | Список изменений
:--- | :--- | :--- | :---
v.2.18.0 | 24.12.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.18.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-18-0)
v.2.17.0 | 04.12.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.17.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-17-0)
v.2.16.0 | 26.11.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.16.0/darwin/amd64/ydb) | [См. список](../../../changelog-cli.md#2-16-0)
v.2.15.0 | 17.10.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.15.0/darwin/amd64/ydb)
Expand Down
1 change: 1 addition & 0 deletions ydb/docs/ru/core/downloads/_includes/ydb-cli/linux.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Версия | Дата выпуска | Скачать | Список изменений
:--- | :--- | :--- | :---
v.2.18.0 | 24.12.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.18.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-18-0)
v.2.17.0 | 04.12.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.17.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-17-0)
v.2.16.0 | 26.11.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.16.0/linux/amd64/ydb) | [См. список](../../../changelog-cli.md#2-16-0)
v.2.15.0 | 17.10.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.15.0/linux/amd64/ydb)
Expand Down
1 change: 1 addition & 0 deletions ydb/docs/ru/core/downloads/_includes/ydb-cli/windows.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Версия | Дата выпуска | Скачать | Список изменений
:--- | :--- | :--- | :---
v.2.18.0 | 24.12.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.18.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-18-0)
v.2.17.0 | 04.12.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.17.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-17-0)
v.2.16.0 | 26.11.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.16.0/windows/amd64/ydb.exe) | [См. список](../../../changelog-cli.md#2-16-0)
v.2.15.0 | 17.10.24 | [Бинарный файл](https://storage.yandexcloud.net/yandexcloud-ydb/release/2.15.0/windows/amd64/ydb.exe)
Expand Down
Loading