feat: support multi table engines (#1277)

* feat: support multi table engines

* refactor: adapt SqlHandler to support multiple table engines

* refactor: refactor TableEngineManager

* chore: apply review suggestions

* chore: apply review suggestions

* chore: apply review suggestions

* chore: snafu context styling
This commit is contained in:
Weny Xu
2023-04-03 23:49:12 +09:00
committed by GitHub
parent 68d3247791
commit 451f9d2d4e
34 changed files with 454 additions and 135 deletions

View File

@@ -309,6 +309,7 @@ impl CreateTableData {
mod tests {
use datatypes::prelude::ConcreteDataType;
use datatypes::schema::{ColumnSchema, RawSchema};
use mito::engine::MITO_ENGINE;
use table::engine::{EngineContext, TableEngine};
use super::*;
@@ -345,6 +346,7 @@ mod tests {
create_if_not_exists: true,
primary_key_indices: vec![0],
table_options: Default::default(),
engine: MITO_ENGINE.to_string(),
}
}