feat(flow): render source/sink (#3903)

* feat(flow): render src/sink

* chore: add empty impl

* chore: typos

* refactor: according to review(WIP)

* refactor: reexport df_sbustrait&use to_sub_plan

* fix: add implict location to error enum

* fix: error handling unwrap query_ctx
This commit is contained in:
discord9
2024-05-13 19:58:02 +08:00
committed by GitHub
parent 9d12496aaf
commit be1eb4efb7
27 changed files with 933 additions and 142 deletions

43
Cargo.lock generated
View File

@@ -2477,6 +2477,16 @@ dependencies = [
"memchr",
]
[[package]]
name = "ctor"
version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d2301688392eb071b0bf1a37be05c469d3cc4dbbd95df672fe28ab021e6a096"
dependencies = [
"quote",
"syn 1.0.109",
]
[[package]]
name = "darling"
version = "0.14.4"
@@ -3788,20 +3798,28 @@ name = "flow"
version = "0.7.2"
dependencies = [
"api",
"async-trait",
"catalog",
"common-base",
"common-catalog",
"common-decimal",
"common-error",
"common-frontend",
"common-macro",
"common-meta",
"common-runtime",
"common-telemetry",
"common-time",
"datafusion-common 37.0.0",
"datafusion-expr 37.0.0",
"datafusion-substrait",
"datatypes",
"enum_dispatch",
"futures",
"greptime-proto",
"hydroflow",
"itertools 0.10.5",
"minstant",
"nom",
"num-traits",
"prost 0.12.4",
"query",
@@ -3811,6 +3829,7 @@ dependencies = [
"session",
"smallvec",
"snafu 0.8.2",
"store-api",
"strum 0.25.0",
"substrait 0.7.2",
"table",
@@ -5690,6 +5709,16 @@ dependencies = [
"adler",
]
[[package]]
name = "minstant"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fb9b5c752f145ac5046bccc3c4f62892e3c950c1d1eab80c5949cd68a2078db"
dependencies = [
"ctor",
"web-time 1.1.0",
]
[[package]]
name = "mio"
version = "0.8.11"
@@ -11334,7 +11363,7 @@ dependencies = [
"tracing-core",
"tracing-log 0.2.0",
"tracing-subscriber",
"web-time",
"web-time 0.2.4",
]
[[package]]
@@ -12092,6 +12121,16 @@ dependencies = [
"wasm-bindgen",
]
[[package]]
name = "web-time"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
dependencies = [
"js-sys",
"wasm-bindgen",
]
[[package]]
name = "webbrowser"
version = "0.8.15"