mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 06:12:55 +00:00
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:
@@ -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],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user