mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-24 17:00:37 +00:00
feat: Substrait logical plan (#704)
* feat: use Substrait logical plan to query data from Datanode in Frontend in distributed mode * fix: resolve PR comments * fix: resolve PR comments * fix: resolve PR comments Co-authored-by: luofucong <luofucong@greptime.com>
This commit is contained in:
@@ -7,6 +7,7 @@ license = "Apache-2.0"
|
||||
[dependencies]
|
||||
async-trait = "0.1"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
common-catalog = { path = "../common/catalog" }
|
||||
common-error = { path = "../common/error" }
|
||||
common-query = { path = "../common/query" }
|
||||
common-recordbatch = { path = "../common/recordbatch" }
|
||||
|
||||
@@ -16,6 +16,7 @@ use std::collections::{HashMap, HashSet};
|
||||
use std::sync::Arc;
|
||||
|
||||
use chrono::{DateTime, Utc};
|
||||
use common_catalog::consts::{DEFAULT_CATALOG_NAME, DEFAULT_SCHEMA_NAME};
|
||||
pub use datatypes::error::{Error as ConvertError, Result as ConvertResult};
|
||||
use datatypes::schema::{ColumnSchema, RawSchema, Schema, SchemaBuilder, SchemaRef};
|
||||
use derive_builder::Builder;
|
||||
@@ -333,9 +334,9 @@ pub struct TableInfo {
|
||||
/// Comment of the table.
|
||||
#[builder(default, setter(into))]
|
||||
pub desc: Option<String>,
|
||||
#[builder(default, setter(into))]
|
||||
#[builder(default = "DEFAULT_CATALOG_NAME.to_string()", setter(into))]
|
||||
pub catalog_name: String,
|
||||
#[builder(default, setter(into))]
|
||||
#[builder(default = "DEFAULT_SCHEMA_NAME.to_string()", setter(into))]
|
||||
pub schema_name: String,
|
||||
pub meta: TableMeta,
|
||||
#[builder(default = "TableType::Base")]
|
||||
|
||||
Reference in New Issue
Block a user