|
| 1 | +* Improved throughput of `ydb import file csv` command. It is now approximately x3 times faster |
| 2 | +* Allow running stock bench for `OLAP` shards |
| 3 | +* Specify more clearly what concrete type of timestamp is in options in `ydb topic` commands |
| 4 | +* Added support different timestamp formats in `ydb topic` commands |
| 5 | +* Added `--explain-ast` option to `ydb sql` command that prints query AST |
| 6 | +* Highlighting in interactive mode switched to common lexer using ANSI SQL syntax so ANSI queries can be highlighted correctly |
| 7 | +* Added location printing for errors in `ydb tools restore` command |
| 8 | +* Diffs in `ydb workload` benchmarks are now printed prettier |
| 9 | +* Fixed progress bar in `ydb workload import` command |
| 10 | +* Added pg syntax to tpch and tpcds benchmarks |
| 11 | +* Fixed a bug where restoring from a backup using --import-data could fail if the partitioning of the table was changed |
| 12 | +* In the `ydb topic write` command the `--codec` option now has default value `RAW`. |
| 13 | +* Added log events for `ydb tools dump` and `ydb tools restore` commands |
| 14 | +* Added `-c` option for `ydb workload tpcds run` command to compare the result with expected value and show the diff |
| 15 | + |
| 16 | +## 2.15.0 ## |
| 17 | + |
| 18 | +* Description is not ready yet |
| 19 | + |
| 20 | +## 2.14.0 ## |
| 21 | + |
| 22 | +* Description is not ready yet |
| 23 | + |
| 24 | +## 2.13.0 ## |
| 25 | + |
| 26 | +* Description is not ready yet |
| 27 | + |
| 28 | +## 2.12.0 ## |
| 29 | + |
| 30 | +* Description is not ready yet |
| 31 | + |
| 32 | +## 2.11.0 ## |
| 33 | + |
| 34 | +* Description is not ready yet |
| 35 | + |
| 36 | +## 2.10.0 ## |
| 37 | + |
| 38 | +### Features |
| 39 | + |
| 40 | +* Added the `ydb sql` command that runs over QueryService and can execute any DML/DDL command. |
| 41 | +* Added `notx` support for the `--tx-mode` option in `ydb table query execute`. |
| 42 | +* Added start and end times for long-running operation descriptions (export, import). |
| 43 | +* Added replication description support in the `ydb scheme describe` and `ydb scheme ls` commands. |
| 44 | +* Added big datetime types support: `Date32`, `Datetime64`, `Timestamp64`, `Interval64`. |
| 45 | +* `ydb workload` commands rework: |
| 46 | + |
| 47 | + * Added the `--clear` option to the `init` subcommand, allowing tables from previous runs to be removed before workload initialization. |
| 48 | + * Added the `ydb workload * import` command to prepopulate tables with initial content before executing benchmarks. |
| 49 | + |
| 50 | +### Backward incompatible changes |
| 51 | + |
| 52 | +* `ydb workload` commands rework: |
| 53 | + |
| 54 | + * The `--path` option was moved to a specific workload level. For example: `ydb workload tpch --path some/tables/path init ...`. |
| 55 | + * The `--store=s3` option was changed to `--store=external-s3` in the `init` subcommand. |
| 56 | + |
| 57 | + |
| 58 | +### Bug fixes |
| 59 | + |
| 60 | +* Fixed colors in the `PrettyTable` format |
| 61 | + |
| 62 | +## 2.9.0 ## |
| 63 | + |
| 64 | +### Features |
| 65 | + |
| 66 | +* Improved query logical plan tables: added colors, more information, fixed some bugs. |
| 67 | +* The verbose option `-v` is supported for `ydb workload` commands to provide debug information. |
| 68 | +* Added an option to run `ydb workload tpch` with an S3 source to measure [federated queries](concepts/federated_query/index.md) performance. |
| 69 | +* Added the `--rate` option for `ydb workload` commands to control the transactions (or requests) per second limit. |
| 70 | +* Added the `--use-virtual-addressing` option for S3 import/export, allowing the switch to [virtual hosting of buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html) for the S3 path layout. |
| 71 | +* Improved `ydb scheme ls` performance due to listing directories in parallel. |
| 72 | + |
| 73 | +### Bug fixes |
| 74 | + |
| 75 | +* Resolved an issue where extra characters were truncated during line transfers in CLI tables. |
| 76 | +* Fixed invalid memory access in `tools restore`. |
| 77 | +* Fixed the issue of the `--timeout` option being ignored in generic and scan queries, as well as in the import command. |
| 78 | +* Added a 60-second timeout to version checks and CLI binary downloads to prevent infinite waiting. |
| 79 | +* Minor bug fixes. |
| 80 | + |
| 81 | +## 2.8.0 ## |
| 82 | + |
| 83 | +### Features |
| 84 | + |
| 85 | +* Added configuration management commands for the cluster `ydb admin config` and `ydb admin volatile-config`. |
| 86 | +* Added support for loading PostgreSQL-compatible data types by [ydb import file csv|tsv|json](reference/ydb-cli/export-import/import-file.md) command. Only for row-oriented tables. |
| 87 | +* Added support for directory load from an S3-compatible storage in the [ydb import s3](reference/ydb-cli/export-import/import-s3.md) command. Currently only available on Linux and Mac OS. |
| 88 | +* Added support for outputting the results of [ydb table query execute](reference/ydb-cli/table-query-execute.md), [ydb yql](reference/ydb-cli/yql.md) and [ydb scripting yql](reference/ydb-cli/scripting-yql.md) commands in the [Apache Parquet](https://parquet.apache.org/docs/) format. |
| 89 | +* In the [ydb workload](reference/ydb-cli/commands/workload/index.md) commands, the `--executer` option has been added, which allows to specify which type of queries to use. |
| 90 | +* Added a column with median benchmark execution time in the statistics table of the [ydb workload clickbench](reference/ydb-cli/workload-click-bench.md) command. |
| 91 | +* **_(Experimental)_** Added the `generic` request type to the [ydb table query execute](reference/ydb-cli/table-query-execute.md) command, allowing to perform [DDL](https://en.wikipedia.org/wiki/Data_Definition_Language) and [DML](https://en.wikipedia.org/wiki/Data_Manipulation_Language) operations, return with arbitrarily-sized results and support for [MVCC](concepts/mvcc.md). The command uses an experimental API, compatibility is not guaranteed. |
| 92 | +* **_(Experimental)_** In the `ydb table query explain` command, the `--collect-diagnostics` option has been added to collect query diagnostics and save it to a file. The command uses an experimental API, compatibility is not guaranteed. |
| 93 | + |
| 94 | +### Bug fixes |
| 95 | + |
| 96 | +* Fixed an error displaying tables in `pretty` format with [Unicode](https://en.wikipedia.org/wiki/Unicode) characters. |
| 97 | + |
| 98 | +* Fixed an error substituting the wrong primary key in the command [ydb tools pg-convert](postgresql/import.md#pg-convert). |
| 99 | + |
| 100 | +## 2.7.0 ## |
| 101 | + |
| 102 | +### Features |
| 103 | + |
| 104 | +* Added the [ydb tools pg-convert](postgresql/import.md#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. |
| 105 | +* Added the `ydb workload query` load testing command, which loads the database with [script execution queries](reference/ydb-cli/yql.md) in multiple threads. |
| 106 | +* Added a command `ydb scheme permissions list` to list permissions. |
| 107 | +* 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. |
| 108 | +* [Special commands](reference/ydb-cli/interactive-cli.md#spec-commands) in the interactive query execution mode are now case-insensitive. |
| 109 | +* Added validation for [special commands](reference/ydb-cli/interactive-cli.md#spec-commands) and their [parameters](reference/ydb-cli/interactive-cli.md#internal-vars). |
| 110 | +* Added table reading in the scenario with transactions in the command [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run). |
| 111 | +* Added the `--commit-messages` option to the command [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run), specifying the number of messages in a single transaction. |
| 112 | +* Added the options `--only-table-in-tx` and `--only-topic-in-tx` in the command [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run), specifying restrictions on the types of queries in a single transaction. |
| 113 | +* Added new columns `Select time` and `Upsert time` in the statistics table in the command [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md#run). |
| 114 | + |
| 115 | +### Bug fixes |
| 116 | + |
| 117 | +* 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). |
| 118 | + |
| 119 | +## 2.6.0 ## |
| 120 | + |
| 121 | +### Features |
| 122 | + |
| 123 | +* 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. |
| 124 | +* Added [ydb workload transfer topic-to-table run](reference/ydb-cli/workload-transfer.md) command, which loads the database with read requests from topics and write requests to the table. |
| 125 | +* Added the option `--consumer-prefix` in the commands [ydb workload topic init](reference/ydb-cli/workload-topic.md#init), [ydb workload topic run read|full](reference/ydb-cli/workload-topic.md#run-read), specifying prefixes of consumer names. |
| 126 | +* Added the `--partition-ids` option in the [ydb topic read](reference/ydb-cli/topic-read.md) command, which specifies a comma-separated list of topic partition identifiers to read from. |
| 127 | +* Added support for CSV and TSV parameter formats in [YQL query](reference/ydb-cli/parameterized-queries-cli.md) execution commands. |
| 128 | +* The [interactive mode of query execution](reference/ydb-cli/interactive-cli.md) has been redesigned. Added [new interactive mode specific commands](reference/ydb-cli/interactive-cli.md#spec-commands): `SET`, `EXPLAIN`, `EXPLAIN AST`. Added saving history between CLI launches and auto-completion of YQL queries. |
| 129 | +* Added the command [ydb config info](reference/ydb-cli/commands/config-info.md), which outputs the current connection parameters without connecting to the database. |
| 130 | +* Added the command [ydb workload kv run mixed](reference/ydb-cli/workload-kv.md#mixed-kv), which loads the database with write and read requests. |
| 131 | +* The `--percentile` option in the [ydb workload topic run write|read|full](reference/ydb-cli/workload-topic.md#run-write) commands can now take floating point values. |
| 132 | +* The default values for the `--seconds` and `--warmup` options in the [ydb workload topic run write|read|full](reference/ydb-cli/workload-topic.md#run-write) commands have been increased to 60 seconds and 5 seconds, respectively. |
| 133 | +* Changed the default value for the `--supported-codecs` option to `RAW` in the [ydb topic create](reference/ydb-cli/topic-create.md) and [ydb topic consumer add](reference/ydb-cli/topic-consumer-add.md) commands. |
| 134 | + |
| 135 | +### Bug fixes |
| 136 | + |
| 137 | +* Fixed string loss when loading with the [ydb import file json](reference/ydb-cli/export-import/import-file.md) command. |
| 138 | +* Fixed ignored statistics during the warm-up of commands [ydb workload topic run write|read|full](reference/ydb-cli/workload-topic.md#run-write). |
| 139 | +* Fixed incomplete statistics output in the [ydb scripting yql](reference/ydb-cli/scripting-yql.md) and [ydb yql](reference/ydb-cli/yql.md) commands. |
| 140 | +* Fixed incorrect output of progress bar in [ydb tools dump](reference/ydb-cli/export-import/tools-dump.md) and [ydb tools restore](reference/ydb-cli/export-import/tools-restore.md) commands. |
| 141 | +* Fixed loading large files with the header in the [ydb import file csv|tsv](reference/ydb-cli/export-import/import-file.md) command. |
| 142 | +* Fixed hanging of the [ydb tools restore --import-data](reference/ydb-cli/export-import/tools-restore.md#optional) command. |
| 143 | +* Fixed error `Unknown value Rejected` when executing the [ydb operation list build index](reference/ydb-cli/operation-list.md) command. |
| 144 | + |
| 145 | +## 2.5.0 ## |
| 146 | + |
| 147 | +### Features |
| 148 | + |
| 149 | +* For the `ydb import file` command, a parameter [--timeout](reference/ydb-cli/export-import/import-file.md#optional) has been added that specifies the time within which the operation should be performed on the server. |
| 150 | +* Added a progress bar in commands [ydb scheme rmdir --recursive](reference/ydb-cli/commands/dir.md#rmdir) and [ydb import file](reference/ydb-cli/export-import/import-file.md). |
| 151 | +* Added the command [ydb workload kv run read-rows](reference/ydb-cli/workload-kv.md#read-rows-kv), which loads the database with requests to read rows using a new experimental API call ReadRows (implemented only in the [main](https://github.com/ydb-platform/ydb) branch), which performs faster key reading than [select](reference/ydb-cli/workload-kv.md#select-kv). |
| 152 | +* New parameters `--warmup-time`, `--percentile`, `--topic` have been added to the [ydb workload topic](reference/ydb-cli/workload-topic.md), setting the test warm-up time, the percentile in the statistics output and the topic name, respectively. |
| 153 | +* Added the [ydb workload tpch](reference/ydb-cli/workload-tpch.md) command to run the TPC-H benchmark. |
| 154 | +* Added the `--ordered` flag in the command [ydb tools dump](reference/ydb-cli/export-import/tools-dump.md), which preserves the order by primary key in tables. |
| 155 | + |
| 156 | +### Performance |
| 157 | + |
| 158 | +* The data loading speed in the `ydb import file` command has been increased by adding parallel loading. The number of threads is set by the new parameter [--threads](reference/ydb-cli/export-import/import-file.md#optional). |
| 159 | +* A performance of the [ydb import file json](reference/ydb-cli/export-import/import-file.md) command has been increased by reducing the number of data copies. |
| 160 | + |
| 161 | +## 2.4.0 ## |
| 162 | + |
| 163 | +### Features |
| 164 | + |
| 165 | +* Added the ability to upload multiple files in parallel with the command [ydb import file](reference/ydb-cli/export-import/import-file.md#multiple-files). |
| 166 | +* Added support for deleting column tables for the command [ydb scheme rmdir --recursive](reference/ydb-cli/commands/dir.md#rmdir). |
| 167 | +* Improved stability of the command [ydb workload topic](reference/ydb-cli/workload-topic.md). |
| 168 | + |
| 169 | +## 2.3.0 ## |
| 170 | + |
| 171 | +### Features |
| 172 | + |
| 173 | +* Added the interactive mode of query execution. To switch to the interactive mode, run [ydb yql](reference/ydb-cli/yql.md) without arguments. This mode is experimental: backward compatibility is not guaranteed yet. |
| 174 | +* Added the [ydb index rename](reference/ydb-cli/commands/secondary_index.md#rename) command for [atomic replacement](dev/secondary-indexes.md#atomic-index-replacement) or renaming of a secondary index. |
| 175 | +* Added the `ydb workload topic` command for generating the load that reads messages from topics and writes messages to topics. |
| 176 | +* Added the [--recursive](reference/ydb-cli/commands/dir.md#rmdir-options) option for the `ydb scheme rmdir` command. Use it to delete a directory recursively, with all its content. |
| 177 | +* Added support for the `topic` and `coordination node` types in the [ydb scheme describe](reference/ydb-cli/commands/scheme-describe.md) command. |
| 178 | +* Added the [--commit](reference/ydb-cli/topic-read.md#osnovnye-opcionalnye-parametry) option for the `ydb topic consumer` command. Use it to commit messages you have read. |
| 179 | +* Added the [--columns](reference/ydb-cli/export-import/import-file.md#optional) option for the `ydb import file csv|tsv` command. Use it as an alternative to the file header when specifying a column list. |
| 180 | +* Added the [--newline-delimited](reference/ydb-cli/export-import/import-file.md#optional) option for the `ydb import file csv|tsv` command. Use it to make sure that your data is newline-free. This option streamlines import by reading data from several file sections in parallel. |
| 181 | + |
| 182 | +### Bug fixes |
| 183 | + |
| 184 | +* Fixed the bug that resulted in excessive memory and CPU utilization when executing the `ydb import file` command. |
| 185 | + |
| 186 | +## 2.2.0 ## |
| 187 | + |
| 188 | +### Features |
| 189 | + |
| 190 | +* Fixed the error that didn't allow specifying supported compression algorithms when adding a topic consumer. |
| 191 | +* Added support for streaming YQL scripts and queries based on options [transferred via `stdin`](reference/ydb-cli/parameterized-queries-cli.md). |
| 192 | +* You can now [use a file](reference/ydb-cli/parameterized-queries-cli.md) to provide YQL query options |
| 193 | +* Password input requests are now output to `stderr` instead of `stdout`. |
| 194 | +* You can now save the root CA certificate path in a [profile](reference/ydb-cli/profile/index.md). |
| 195 | +* Added a global option named [--profile-file](reference/ydb-cli/commands/global-options.md#service-options) to use the specified file as storage for profile settings. |
| 196 | +* Added a new type of load testing: [ydb workload clickbench](reference/ydb-cli/workload-click-bench). |
| 197 | + |
| 198 | +## 2.1.1 ## |
| 199 | + |
| 200 | +### Improvements |
| 201 | + |
| 202 | +* Added support for the `--stats` option of the [ydb scheme describe](reference/ydb-cli/commands/scheme-describe.md) command for column-oriented tables. |
| 203 | +* Added support for Parquet files to enable their import with the [ydb import](reference/ydb-cli/export-import/import-file.md) command. |
| 204 | +* Added support for additional logging and retries for the [ydb import](reference/ydb-cli/export-import/import-file.md) command. |
| 205 | + |
| 206 | +## 2.1.0 ## |
| 207 | + |
| 208 | +### Features |
| 209 | + |
| 210 | +* You can now [create a profile non-interactively](reference/ydb-cli/profile/create.md#cmdline). |
| 211 | +* Added the [ydb config profile update](reference/ydb-cli/profile/create.md#update) and [ydb config profile replace](reference/ydb-cli/profile/create.md#replace) commands to update and replace profiles, respectively. |
| 212 | +* Added the `-1` option for the [ydb scheme ls](reference/ydb-cli/commands/scheme-ls.md) command to enable output of a single object per row. |
| 213 | +* You can now save the IAM service URL in a profile. |
| 214 | +* Added support for username and password-based authentication without specifying the password. |
| 215 | +* Added support for AWS profiles in the [ydb export s3](reference/ydb-cli/export-import/auth-s3.md#auth) command. |
| 216 | +* You can now create profiles using `stdin`. For example, you can pass the [YC CLI](https://cloud.yandex.ru/docs/cli/) `yc ydb database get information` command output to the `ydb config profile create` command input. |
| 217 | + |
| 218 | +### Bug fixes |
| 219 | + |
| 220 | +* Fixed the error when request results were output in JSON-array format incorrectly if they included multiple server responses. |
| 221 | +* Fixed the error that disabled profile updates so that an incorrect profile was used. |
| 222 | + |
| 223 | +## 2.0.0 ## |
| 224 | + |
| 225 | +### Features |
| 226 | + |
| 227 | +* Added the ability to work with topics: |
| 228 | + |
| 229 | + * `ydb topic create`: Create a topic. |
| 230 | + * `ydb topic alter`: Update a topic. |
| 231 | + * `ydb topic write`: Write data to a topic. |
| 232 | + * `ydb topic read`: Read data from a topic. |
| 233 | + * `ydb topic drop`: Delete a topic. |
| 234 | + |
| 235 | +* Added a new type of load testing: |
| 236 | + |
| 237 | + * `ydb workload kv init`: Create a table for kv load testing. |
| 238 | + * `ydb workload kv run`: Apply one of three types of load: run multiple `UPSERT` sessions, run multiple `INSERT` sessions, or run multiple sessions of GET requests by primary key. |
| 239 | + * `ydb workload kv clean`: Delete a test table. |
| 240 | + |
| 241 | +* Added the ability to disable current active profile (see the `ydb config profile deactivate` command). |
| 242 | +* Added the ability to delete a profile non-interactively with no commit (see the `--force` option under the `ydb config profile remove` command). |
| 243 | +* Added CDC support for the `ydb scheme describe` command. |
| 244 | +* Added the ability to view the current DB status (see the `ydb monitoring healthcheck` command). |
| 245 | +* Added the ability to view authentication information (token) to be sent with DB queries under the current authentication settings (see the `ydb auth get-token` command). |
| 246 | +* Added the ability for the `ydb import` command to read data from stdin. |
| 247 | +* Added the ability to import data in JSON format from a file or stdin (see the `ydb import file json` command). |
| 248 | + |
| 249 | +### Improvements |
| 250 | + |
| 251 | +* Improved command processing. Improved the accuracy of user input parsing and validation. |
| 252 | + |
| 253 | +## 1.9.1 ## |
| 254 | + |
| 255 | +### Features |
| 256 | + |
| 257 | +* Added the ability to compress data when exporting it to S3-compatible storage (see the `--compression` option of the [ydb export s3](reference/ydb-cli/export-import/export-s3.md) command). |
| 258 | +* Added the ability to manage new {{ ydb-short-name }} CLI version availability auto checks (see the `--disable-checks` and `--enable-checks` options of the [ydb version](reference/ydb-cli/version.md) command). |
0 commit comments