aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-06-27 15:21:51 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-06-27 15:31:59 +0300
commitc6cf2651df2cb01bd16ceeb46a287ff02dde8dca (patch)
tree791ba1f2bb59e4d94485c8e50a5782f5d7354e25
parent10cc9fb155fa3850413d82650055b21a664a71b1 (diff)
downloadydb-c6cf2651df2cb01bd16ceeb46a287ff02dde8dca.tar.gz
Intermediate changes
-rw-r--r--contrib/tools/bison/ya.make2
-rw-r--r--library/cpp/http/simple/ut/http_ut.cpp2
-rw-r--r--yt/yt/client/driver/table_commands.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tools/bison/ya.make b/contrib/tools/bison/ya.make
index 050b34b8d5..b4d1e4c12b 100644
--- a/contrib/tools/bison/ya.make
+++ b/contrib/tools/bison/ya.make
@@ -3,8 +3,6 @@
PROGRAM(bison)
LICENSE(
- Bison-exception-2.2 AND
- CC-BY-4.0 AND
GPL-3.0-only AND
GPL-3.0-or-later AND
GPL-3.0-or-later WITH Bison-exception-2.2
diff --git a/library/cpp/http/simple/ut/http_ut.cpp b/library/cpp/http/simple/ut/http_ut.cpp
index 7768fdc4fa..20bef65a09 100644
--- a/library/cpp/http/simple/ut/http_ut.cpp
+++ b/library/cpp/http/simple/ut/http_ut.cpp
@@ -540,7 +540,7 @@ Y_UNIT_TEST_SUITE(SimpleHttp) {
"Accept-Encoding: gzip, deflate\r\n"
"Content-Length: 9\r\n"
"Content-Type: application/x-www-form-urlencoded\r\n"
- "User-Agent: Python-urllib/2.6\r\n"
+ "User-Agent: Arcadia-library/cpp/http\r\n"
"\r\n"
"some body";
diff --git a/yt/yt/client/driver/table_commands.cpp b/yt/yt/client/driver/table_commands.cpp
index 68ef838d47..1038cafea2 100644
--- a/yt/yt/client/driver/table_commands.cpp
+++ b/yt/yt/client/driver/table_commands.cpp
@@ -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);