mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-01 12:50:40 +00:00
feat: persist column ids in table metadata (#6457)
* feat: persist column ids in table metadata Signed-off-by: WenyXu <wenymedia@gmail.com> * chore: apply suggestions from CR Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -73,6 +73,10 @@ pub const LOGICAL_TABLE_METADATA_KEY: &str = "on_physical_table";
|
||||
/// Represent a list of column metadata that are added to physical table.
|
||||
pub const ALTER_PHYSICAL_EXTENSION_KEY: &str = "ALTER_PHYSICAL";
|
||||
|
||||
/// HashMap key to be used in the region server's extension response.
|
||||
/// Represent the column metadata of a table.
|
||||
pub const TABLE_COLUMN_METADATA_EXTENSION_KEY: &str = "TABLE_COLUMN_METADATA";
|
||||
|
||||
/// HashMap key to be used in the region server's extension response.
|
||||
/// Represent the manifest info of a region.
|
||||
pub const MANIFEST_INFO_EXTENSION_KEY: &str = "MANIFEST_INFO";
|
||||
|
||||
@@ -460,7 +460,7 @@ pub struct RegionStatistic {
|
||||
}
|
||||
|
||||
/// The manifest info of a region.
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
||||
pub enum RegionManifestInfo {
|
||||
Mito {
|
||||
manifest_version: u64,
|
||||
|
||||
Reference in New Issue
Block a user