mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-27 06:06:19 +00:00
feat: introduce file table engine (#1323)
* feat: introduce file table engine * chore: apply cr suggestions * refactor: refactor immutable manifest * chore: apply cr suggestions * refactor: refactor immutable manifest * chore: apply suggestions from code review Co-authored-by: dennis zhuang <killme2008@gmail.com> * chore: apply suggestions from CR * chore: apply suggestions from code review Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> --------- Co-authored-by: dennis zhuang <killme2008@gmail.com> Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
This commit is contained in:
co-authored by
dennis zhuang
Lei, HUANG
parent
804348966d
commit
29c6155ae3
@@ -128,6 +128,16 @@ impl TableMetaBuilder {
|
||||
_ => Err("Missing primary_key_indices or schema to create value_indices".to_string()),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn new_external_table() -> Self {
|
||||
Self {
|
||||
primary_key_indices: Some(Vec::new()),
|
||||
value_indices: Some(Vec::new()),
|
||||
region_numbers: Some(Vec::new()),
|
||||
next_column_id: Some(0),
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl TableMeta {
|
||||
|
||||
Reference in New Issue
Block a user