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

@@ -9,6 +9,7 @@ version="0.10"
[dependencies]
common-error = { path = "../error" }
common-recordbatch = { path = "../recordbatch" }
common-time = { path = "../time" }
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", branch = "arrow2", features = ["simd"] }
datafusion-common = { git = "https://github.com/apache/arrow-datafusion.git", branch = "arrow2" }

View File

@@ -1,6 +1,15 @@
use common_recordbatch::{RecordBatches, SendableRecordBatchStream};
pub mod columnar_value;
pub mod error;
mod function;
pub mod logical_plan;
pub mod prelude;
mod signature;
// sql output
pub enum Output {
AffectedRows(usize),
RecordBatches(RecordBatches),
Stream(SendableRecordBatchStream),
}