feat(mito): make use of options in RegionCreate/OpenRequest (#2436)

* refactor: move RegionOptions to options mod

* refactor: define compaction strategy in region/options.rs

* feat: use duration for time window

* refactor: rename CompactionStrategy to CompactionOptions

* feat: use serde to parse options

* feat: parse options

* feat: set options on creation/opening

* test: test create/open with options

* chore: remove todo

* feat: get compaction ttl and options from RegionOptions

* style: fix clippy

* chore: Remove unused engine_options

* style: fix clippy

* chore: remove todo
This commit is contained in:
Yingwen
2023-09-19 09:06:09 +00:00
committed by GitHub
parent 1fb2d95c5f
commit 7b606ed289
26 changed files with 396 additions and 67 deletions
-1
View File
@@ -446,7 +446,6 @@ fn create_table_info(
engine: create_table.engine.clone(),
next_column_id: column_schemas.len() as u32,
region_numbers: vec![],
engine_options: HashMap::new(),
options: table_options,
created_on: DateTime::default(),
partition_key_indices,