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

@@ -193,7 +193,7 @@ pub async fn create_test_table(
.expect("ts is expected to be timestamp column"),
),
create_if_not_exists: true,
primary_key_indices: vec![3, 0], // "host" and "ts" are primary keys
primary_key_indices: vec![0], // "host" is in primary keys
table_options: HashMap::new(),
region_numbers: vec![0],
},