feat: add repartition proto (#300)

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2026-01-09 16:00:19 +08:00
committed by GitHub
parent 0e316b86d7
commit 58aeee4926
5 changed files with 3292 additions and 1020 deletions
+10
View File
@@ -123,6 +123,7 @@ message AlterTableExpr {
SetIndexes set_indexes = 15;
UnsetIndexes unset_indexes = 16;
SetDefaults set_defaults = 17;
Repartition repartition = 18;
}
}
@@ -160,6 +161,15 @@ message UnsetIndex {
}
}
message Repartition {
// The from partition expressions serialized in JSON format.
repeated string from_partition_exprs = 1;
// The into partition expressions serialized in JSON format.
repeated string into_partition_exprs = 2;
// Wait for the repartition to complete.
bool wait = 3;
}
message DropTableExpr {
string catalog_name = 1;
string schema_name = 2;