feat: truncate request by time ranges (#262)
* feat: truncate request by time ranges Signed-off-by: discord9 <discord9@163.com> * fix: default time unit is millisecond Signed-off-by: discord9 <discord9@163.com> * refactor: per review Signed-off-by: discord9 <discord9@163.com> * add time ranges to truncate table expr Signed-off-by: discord9 <discord9@163.com> * chore: make all Signed-off-by: discord9 <discord9@163.com> * chore: fmt Signed-off-by: discord9 <discord9@163.com> * chore: make all Signed-off-by: discord9 <discord9@163.com> * chore: make all Signed-off-by: discord9 <discord9@163.com> --------- Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -177,6 +177,8 @@ message TruncateTableExpr {
|
||||
string schema_name = 2;
|
||||
string table_name = 3;
|
||||
TableId table_id = 4;
|
||||
// if empty, truncate entire table, else only truncate time ranges
|
||||
TimeRanges time_ranges = 5;
|
||||
}
|
||||
|
||||
message DropDatabaseExpr {
|
||||
|
||||
Reference in New Issue
Block a user