-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: serialize/deserialize logical and execution plan via substrait (#…
…317) * fix: change Utf8Array indice type Signed-off-by: Ruihang Xia <[email protected]> * refactor: remove unused sub-crate Signed-off-by: Ruihang Xia <[email protected]> * feat: impl for both Logical and Execution plan Signed-off-by: Ruihang Xia <[email protected]> * refactor: move test-util subcrate into table Signed-off-by: Ruihang Xia <[email protected]> * test: table scan logical plan round trip Signed-off-by: Ruihang Xia <[email protected]> * drop support of physical plan Signed-off-by: Ruihang Xia <[email protected]> * fix warnings Signed-off-by: Ruihang Xia <[email protected]> * rename trait fns to encode/decode Signed-off-by: Ruihang Xia <[email protected]> * address review comments Signed-off-by: Ruihang Xia <[email protected]> Signed-off-by: Ruihang Xia <[email protected]>
- Loading branch information
Showing
9 changed files
with
590 additions
and
27 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[package] | ||
name = "substrait" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
bytes = "1.1" | ||
catalog = { path = "../../catalog" } | ||
common-error = { path = "../error" } | ||
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", branch = "arrow2", features = [ | ||
"simd", | ||
] } | ||
futures = "0.3" | ||
prost = "0.9" | ||
snafu = { version = "0.7", features = ["backtraces"] } | ||
table = { path = "../../table" } | ||
|
||
[dependencies.substrait_proto] | ||
package = "substrait" | ||
version = "0.2" | ||
|
||
[dev-dependencies] | ||
datatypes = { path = "../../datatypes" } | ||
table = { path = "../../table" } | ||
tokio = { version = "1.0", features = ["full"] } |
Oops, something went wrong.