feat: implement catalog manager (#129)

Implement catalog manager that provides a vision of all existing tables while instance start. Current implementation is based on local table engine, all catalog info is stored in an system catalog table.
This commit is contained in:
Lei, Huang
2022-08-11 15:43:59 +08:00
committed by GitHub
parent 2c7e83c792
commit 1dd780d857
26 changed files with 1325 additions and 167 deletions

View File

@@ -144,7 +144,7 @@ impl<'a> ParserContext<'a> {
/// Parses the set of valid formats
fn parse_table_engine(&mut self) -> Result<String> {
if !self.consume_token(ENGINE) {
return Ok(engine::DEFAULT_ENGINE.to_string());
return Ok(engine::MITO_ENGINE.to_string());
}
self.parser