chore: move query::Output to common-query module (#259)

* chore: move query::Output to common-query module

* chore: remove “query” dependency in client module
This commit is contained in:
fys
2022-09-15 10:07:58 +08:00
committed by GitHub
parent ef40b12749
commit 8400f8dfd4
41 changed files with 62 additions and 47 deletions

View File

@@ -12,11 +12,11 @@ catalog = { path = "../catalog" }
common-base = { path = "../common/base" }
common-error = { path = "../common/error" }
common-grpc = { path = "../common/grpc" }
common-query = { path = "../common/query" }
common-recordbatch = { path = "../common/recordbatch" }
common-time = { path = "../common/time" }
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", branch = "arrow2", features = ["simd"] }
datatypes = { path = "../datatypes" }
query = { path = "../query" }
snafu = { version = "0.7", features = ["backtraces"] }
tonic = "0.8"

View File

@@ -1,6 +1,6 @@
use api::v1::*;
use common_error::prelude::StatusCode;
use query::Output;
use common_query::Output;
use snafu::prelude::*;
use crate::database::PROTOCOL_VERSION;

View File

@@ -11,6 +11,7 @@ use common_base::BitVec;
use common_error::status_code::StatusCode;
use common_grpc::AsExcutionPlan;
use common_grpc::DefaultAsPlanImpl;
use common_query::Output;
use common_recordbatch::{RecordBatch, RecordBatches};
use common_time::date::Date;
use common_time::datetime::DateTime;
@@ -18,7 +19,6 @@ use common_time::timestamp::Timestamp;
use datafusion::physical_plan::ExecutionPlan;
use datatypes::prelude::*;
use datatypes::schema::{ColumnSchema, Schema};
use query::Output;
use snafu::{ensure, OptionExt, ResultExt};
use crate::error;