Skip to content

Commit

Permalink
[HSTACK] Add TreeNode trait implementation for substrait Rel
Browse files Browse the repository at this point in the history
- Adds the ability to modify and visit substrait plans
- For now, has to be in the common crate to satisfy trait / struct self
  crate Rust limitation
  • Loading branch information
adragomir committed Jan 9, 2025
1 parent 3ded616 commit 02861d6
Show file tree
Hide file tree
Showing 5 changed files with 671 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datafusion/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ recursive = { workspace = true, optional = true }
sqlparser = { workspace = true }
tokio = { workspace = true }

prost = "0.13"
substrait = { version = "0.51", features = ["serde"] }

[target.'cfg(target_family = "wasm")'.dependencies]
web-time = "1.1.0"

Expand Down
2 changes: 2 additions & 0 deletions datafusion/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ pub mod types;
pub mod utils;
pub mod deep;

pub mod substrait_tree;

/// Reexport arrow crate
pub use arrow;
pub use column::Column;
Expand Down
Loading

0 comments on commit 02861d6

Please sign in to comment.