Browse Source

Intermediate changes

robot-piglet 8 months ago
parent
commit
c6cf2651df

+ 0 - 2
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

+ 1 - 1
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";
 

+ 3 - 1
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);