|
@@ -419,8 +419,10 @@ void TPartitionTablesCommand::Register(TRegistrar registrar)
|
|
|
registrar.Parameter("paths", &TThis::Paths);
|
|
|
registrar.Parameter("partition_mode", &TThis::PartitionMode)
|
|
|
.Default(ETablePartitionMode::Unordered);
|
|
|
- registrar.Parameter("data_weight_per_partition", &TThis::DataWeightPerPartition);
|
|
|
+ registrar.Parameter("data_weight_per_partition", &TThis::DataWeightPerPartition)
|
|
|
+ .GreaterThan(0);
|
|
|
registrar.Parameter("max_partition_count", &TThis::MaxPartitionCount)
|
|
|
+ .GreaterThan(0)
|
|
|
.Default();
|
|
|
registrar.Parameter("enable_key_guarantee", &TThis::EnableKeyGuarantee)
|
|
|
.Default(false);
|