feat: deprecate Region::Partition use partition expr instead (#256)

* feat: deprecate Region::Partition use partition expr instead

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* merge origin/main

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* put partition expr into Partition

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
This commit is contained in:
Zhenchi
2025-07-23 10:30:51 +08:00
committed by GitHub
parent 36116a5c24
commit 7fcaa3e413
18 changed files with 725 additions and 303 deletions
+6 -3
View File
@@ -49,10 +49,13 @@ message Region {
map<string, string> attrs = 100;
}
// PARTITION `region_name` VALUES LESS THAN (value_list)
// Partition definition.
message Partition {
repeated bytes column_list = 1;
repeated bytes value_list = 2;
repeated bytes column_list = 1 [deprecated = true];
repeated bytes value_list = 2 [deprecated = true];
// The partition expression serialized in JSON format.
string expression = 3;
}
// This message is only for saving into store.