summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ydb/core/tx/schemeshard/ut_base/ut_base.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/ydb/core/tx/schemeshard/ut_base/ut_base.cpp b/ydb/core/tx/schemeshard/ut_base/ut_base.cpp
index 2952f33bf14..4b681e61b8f 100644
--- a/ydb/core/tx/schemeshard/ut_base/ut_base.cpp
+++ b/ydb/core/tx/schemeshard/ut_base/ut_base.cpp
@@ -6657,6 +6657,24 @@ Y_UNIT_TEST_SUITE(TSchemeShardTest) {
TestDescribeResult(DescribePath(runtime, "/MyRoot/PQGroup4", true), {
NLs::CheckPartCount("PQGroup4", 2, 1, 2, 2),
});
+
+ // decimal type
+ TestCreatePQGroup(runtime, ++txId, "/MyRoot", R"(
+ Name: "PQGroup5"
+ TotalGroupCount: 2
+ PartitionPerTablet: 1
+ PQTabletConfig {
+ PartitionConfig { LifetimeSeconds: 10 }
+ PartitionKeySchema { Name: "key1" TypeId: 4865 TypeInfo { DecimalPrecision: 35 DecimalScale: 10 } }
+ }
+ PartitionBoundaries {
+ Tuple { Optional { Low128: 0 Hi128: 0 } }
+ }
+ )");
+ env.TestWaitNotification(runtime, txId);
+ TestDescribeResult(DescribePath(runtime, "/MyRoot/PQGroup5", true), {
+ NLs::CheckPartCount("PQGroup5", 2, 1, 2, 2),
+ });
}
Y_UNIT_TEST(AlterPersQueueGroupWithKeySchema) {