Skip to content

Commit

Permalink
Re-export Datafusion dependencies (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdye64 authored Mar 13, 2023
1 parent e5ae43b commit 62dbd2a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ default = ["mimalloc"]
[dependencies]
tokio = { version = "1.24", features = ["macros", "rt", "rt-multi-thread", "sync"] }
rand = "0.8"
pyo3 = { version = "0.18.0", features = ["extension-module", "abi3", "abi3-py37"] }
pyo3 = { version = "0.18.1", features = ["extension-module", "abi3", "abi3-py37"] }
datafusion = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab", features = ["pyarrow", "avro"]}
datafusion-common = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab", features = ["pyarrow"]}
datafusion-expr = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab" }
datafusion-optimizer = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab" }
datafusion-common = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab", features = ["pyarrow"]}
datafusion-sql = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab" }
datafusion-substrait = { git = "https://github.com/apache/arrow-datafusion.git", rev = "dd98aab" }
uuid = { version = "1.2", features = ["v4"] }
Expand Down
8 changes: 8 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@
use mimalloc::MiMalloc;
use pyo3::prelude::*;

// Re-export Apache Arrow DataFusion dependencies
pub use datafusion;
pub use datafusion_common;
pub use datafusion_expr;
pub use datafusion_optimizer;
pub use datafusion_sql;
pub use datafusion_substrait;

#[allow(clippy::borrow_deref_ref)]
pub mod catalog;
pub mod common;
Expand Down

0 comments on commit 62dbd2a

Please sign in to comment.