mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-29 23:16:57 +00:00
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:
@@ -228,7 +228,6 @@ mod tests {
|
||||
.value_indices(vec![2, 3])
|
||||
.engine("mito".to_string())
|
||||
.next_column_id(0)
|
||||
.engine_options(Default::default())
|
||||
.options(Default::default())
|
||||
.created_on(Default::default())
|
||||
.region_numbers(regions)
|
||||
@@ -297,7 +296,6 @@ WITH(
|
||||
.primary_key_indices(vec![])
|
||||
.engine("file".to_string())
|
||||
.next_column_id(0)
|
||||
.engine_options(Default::default())
|
||||
.options(options)
|
||||
.created_on(Default::default())
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user