Files
greptimedb/src/query/Cargo.toml
Ruihang Xia 8e69aef973 feat: serialize/deserialize support for PromQL plans (#1684)
* implement serializer

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix clippy and CR comments

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* fix compile error

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* register registry

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* enable promql plan for dist planner

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-06-02 16:14:05 +08:00

67 lines
1.9 KiB
TOML

[package]
name = "query"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
ahash = { version = "0.8", features = ["compile-time-rng"] }
arc-swap = "1.0"
arrow-schema.workspace = true
async-stream.workspace = true
async-trait = "0.1"
catalog = { path = "../catalog" }
chrono.workspace = true
client = { path = "../client" }
common-base = { path = "../common/base" }
common-catalog = { path = "../common/catalog" }
common-datasource = { path = "../common/datasource" }
common-error = { path = "../common/error" }
common-function = { path = "../common/function" }
common-meta = { path = "../common/meta" }
common-query = { path = "../common/query" }
common-recordbatch = { path = "../common/recordbatch" }
common-telemetry = { path = "../common/telemetry" }
common-time = { path = "../common/time" }
datafusion.workspace = true
datafusion-common.workspace = true
datafusion-expr.workspace = true
datafusion-optimizer.workspace = true
datafusion-physical-expr.workspace = true
datafusion-sql.workspace = true
datatypes = { path = "../datatypes" }
futures = "0.3"
futures-util.workspace = true
greptime-proto.workspace = true
humantime = "2.1"
metrics.workspace = true
object-store = { path = "../object-store" }
once_cell = "1.10"
partition = { path = "../partition" }
promql = { path = "../promql" }
promql-parser = "0.1.1"
regex = "1.6"
serde.workspace = true
serde_json = "1.0"
session = { path = "../session" }
substrait = { path = "../common/substrait" }
snafu = { version = "0.7", features = ["backtraces"] }
sql = { path = "../sql" }
table = { path = "../table" }
tokio.workspace = true
[dev-dependencies]
approx_eq = "0.1"
common-function-macro = { path = "../common/function-macro" }
format_num = "0.1"
num = "0.4"
num-traits = "0.2"
paste = "1.0"
rand.workspace = true
statrs = "0.16"
stats-cli = "3.0"
store-api = { path = "../store-api" }
streaming-stats = "0.2"
table = { path = "../table", features = ["testing"] }
tokio-stream = "0.1"