-
Notifications
You must be signed in to change notification settings - Fork 739
Refine workload vector init
#30218
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
Refine workload vector init
#30218
Conversation
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
🟢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds support for configuring table partitioning options when initializing tables using the workload vector init command. The changes refactor the configuration structure to use dedicated option structs and expose partitioning settings to users.
- Refactored configuration to use
TTableOpts,TTablePartitioningOpts, andTVectorOptsstructs - Added command-line options for controlling table partitioning behavior (min partitions, partition size, auto-partitioning by size/load)
- Updated DDL generation to include user-specified partitioning settings
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| ydb/library/workload/vector/vector_workload_params.h | Reorganized member variables to use new structured option types (TTableOpts, TTablePartitioningOpts, TVectorOpts) |
| ydb/library/workload/vector/vector_workload_params.cpp | Replaced manual init parameter configuration with calls to new Configure*Opts functions; updated all references from TableName to TableOpts.Name |
| ydb/library/workload/vector/configure_opts.h | Defined new structs for table options and partitioning options with default values |
| ydb/library/workload/vector/configure_opts.cpp | Implemented configuration functions for table and partitioning options with command-line parameter definitions |
| ydb/library/workload/vector/vector_workload_generator.cpp | Updated DDL query generation to dynamically include partitioning settings based on user configuration |
| ydb/library/workload/vector/vector_sql.cpp | Updated table reference from TableName to TableOpts.Name |
| ydb/library/workload/vector/vector_sampler.cpp | Updated table references from TableName to TableOpts.Name |
| ydb/library/workload/vector/vector_recall_evaluator.cpp | Updated table reference from TableName to TableOpts.Name |
| ydb/library/workload/vector/vector_data_generator.cpp | Updated all table name references from TableName to TableOpts.Name |
| ydb/library/workload/vector/vector_command_index.cpp | Updated table name references from TableName to TableOpts.Name |
| ydb/apps/ydb/CHANGELOG.md | Added changelog entry documenting the new partitioning settings support |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪ Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪ Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
workload vector initworkload vector init
Refined
workload vector initMinor changes and now
workload vector initspecifies partition settings for data tableChangelog category
Description for reviewers
...