mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-19 22:40:40 +00:00
feat(metric-engine): introduce index options from metric engine (#5374)
* feat(metric-engine): introduce index options from metric engine * chore: fmt toml * test: add sqlness test * fix: ignore internal columns * chore: remove unused dep * chore: update sqlness result * chore: ignore metric engine internal columns * chore: refine code styling * test: update sqlness test * refactor: refactor `create_table_constraints` * test: show index * chore: apply suggestions from CR * fix: set inverted index explicitly * chore: apply suggestions from CR
This commit is contained in:
@@ -497,7 +497,7 @@ pub fn column_to_schema(
|
||||
column_schema.insert_inverted_index_placeholder();
|
||||
}
|
||||
} else if inverted_index_cols.contains(&column.name().value) {
|
||||
column_schema.with_inverted_index(true);
|
||||
column_schema.set_inverted_index(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user