This is an automated email from the ASF dual-hosted git repository.
agrove pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion-python.git
The following commit(s) were added to refs/heads/main by this push:
new 62dbd2a Re-export Datafusion dependencies (#277)
62dbd2a is described below
commit 62dbd2a2e5c5997f22a9486bad6d9c8e91cb3086
Author: Jeremy Dyer <[email protected]>
AuthorDate: Mon Mar 13 16:58:15 2023 -0400
Re-export Datafusion dependencies (#277)
---
Cargo.lock | 4 ++--
Cargo.toml | 4 ++--
src/lib.rs | 8 ++++++++
3 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index 33156d6..3d0c5ee 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2038,9 +2038,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.24"
+version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "50686e0021c4136d1d453b2dfe059902278681512a34d4248435dc34b6b5c8ec"
+checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
dependencies = [
"proc-macro2",
]
diff --git a/Cargo.toml b/Cargo.toml
index f7c19e9..3f30dd7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"] }
diff --git a/src/lib.rs b/src/lib.rs
index d9898db..4a6574c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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;