refactor: make table scan return physical plan (#326)

* refactor: return PhysicalPlan in Table trait's scan method, to support partitioned execution in Frontend's distribute read

* refactor: pub use necessary DataFusion types

* refactor: replace old "PhysicalPlan" and its adapters

Co-authored-by: luofucong <luofucong@greptime.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
This commit is contained in:
LFC
2022-10-25 11:34:53 +08:00
committed by GitHub
parent 64dac51e83
commit 2ca667cbdf
39 changed files with 920 additions and 600 deletions

3
Cargo.lock generated
View File

@@ -937,6 +937,7 @@ name = "common-query"
version = "0.1.0"
dependencies = [
"arrow2",
"async-trait",
"common-base",
"common-error",
"common-recordbatch",
@@ -955,6 +956,7 @@ name = "common-recordbatch"
version = "0.1.0"
dependencies = [
"common-error",
"datafusion",
"datafusion-common",
"datatypes",
"futures",
@@ -5135,6 +5137,7 @@ dependencies = [
"common-recordbatch",
"common-telemetry",
"common-time",
"datafusion",
"datafusion-common",
"datatypes",
"futures",