fix: validate create table request in mito engine (#690)

* fix: validate create table request in mito engine

* fix: comment

* chore: remove TIMESTAMP_INDEX in system.rs
This commit is contained in:
dennis zhuang
2022-12-05 11:01:43 +08:00
committed by GitHub
parent 4052563248
commit 6720bc5f7c
9 changed files with 83 additions and 25 deletions

View File

@@ -60,9 +60,9 @@ impl ScriptsTable {
table_name: SCRIPTS_TABLE_NAME.to_string(),
desc: Some("Scripts table".to_string()),
schema,
// name and timestamp as primary key
region_numbers: vec![0],
primary_key_indices: vec![0, 3],
// name as primary key
primary_key_indices: vec![0],
create_if_not_exists: true,
table_options: HashMap::default(),
};