mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-19 22:40:40 +00:00
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:
@@ -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" }
|
||||
|
||||
@@ -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),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user