feat: impl scanning data from storage engine for table (#47)

* feat: impl scanning data from storage for MitoTable

* adds test mod to setup table engine test

* fix: comment error

* fix: boyan -> dennis in todo comments

* fix: remove necessary send in BatchIteratorPtr
This commit is contained in:
dennis zhuang
2022-06-20 15:42:57 +08:00
committed by GitHub
parent 056185eb24
commit 4071b0cff2
10 changed files with 168 additions and 54 deletions

View File

@@ -5,7 +5,7 @@ use datatypes::prelude::ConcreteDataType;
use table::error::Error as TableError;
use table_engine::error::Error as TableEngineError;
// TODO(boyan): use ErrorExt instead.
// TODO(dennis): use ErrorExt instead.
pub type BoxedError = Box<dyn std::error::Error + Send + Sync>;
/// Business error of datanode.

View File

@@ -79,7 +79,7 @@ impl Instance {
}
pub async fn start(&self) -> Result<()> {
// FIXME(boyan): create a demo table for test
// FIXME(dennis): create a demo table for test
let column_schemas = vec![
ColumnSchema::new("host", ConcreteDataType::string_datatype(), false),
ColumnSchema::new("cpu", ConcreteDataType::float64_datatype(), true),