Skip to content

Apache DataFusion SQL Query Engine

Ballista now uses relative paths for dependencies (#10087)

Andy Grove074e922e02d6
diff --git a/rust/ballista/rust/benchmarks/tpch/Cargo.toml b/rust/ballista/rust/benchmarks/tpch/Cargo.toml
index 8c37f8898f..822d101d4e 100644
--- a/rust/ballista/rust/benchmarks/tpch/Cargo.toml
+++ b/rust/ballista/rust/benchmarks/tpch/Cargo.toml
@@ -27,14 +27,9 @@ edition = "2018"
[dependencies]
ballista = { path="../../client" }
-#arrow = { path = "../../../../arrow" }
-#datafusion = { path = "../../../../datafusion" }
-#parquet = { path = "../../../../parquet" }
-
-arrow = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-datafusion = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-parquet = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-
+arrow = { path = "../../../../arrow" }
+datafusion = { path = "../../../../datafusion" }
+parquet = { path = "../../../../parquet" }
env_logger = "0.8"
tokio = { version = "1.0", features = ["macros", "rt", "rt-multi-thread"] }
diff --git a/rust/ballista/rust/client/Cargo.toml b/rust/ballista/rust/client/Cargo.toml
index 8ee5d427ba..de3effe87c 100644
--- a/rust/ballista/rust/client/Cargo.toml
+++ b/rust/ballista/rust/client/Cargo.toml
@@ -31,8 +31,5 @@ futures = "0.3"
log = "0.4"
tokio = "1.0"
-#arrow = { path = "../../../arrow" }
-#datafusion = { path = "../../../datafusion" }
-
-arrow = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-datafusion = { git = "https://github.com/apache/arrow", rev="fe83dca" }
+arrow = { path = "../../../arrow" }
+datafusion = { path = "../../../datafusion" }
\ No newline at end of file
diff --git a/rust/ballista/rust/core/Cargo.toml b/rust/ballista/rust/core/Cargo.toml
index 60c38725bf..e37a1ea7ca 100644
--- a/rust/ballista/rust/core/Cargo.toml
+++ b/rust/ballista/rust/core/Cargo.toml
@@ -40,13 +40,9 @@ tokio = "1.0"
tonic = "0.4"
uuid = { version = "0.8", features = ["v4"] }
-#arrow = { path = "../../../arrow" }
-#arrow-flight = { path = "../../../arrow-flight" }
-#datafusion = { path = "../../../datafusion" }
-
-arrow = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-arrow-flight = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-datafusion = { git = "https://github.com/apache/arrow", rev="fe83dca" }
+arrow = { path = "../../../arrow" }
+arrow-flight = { path = "../../../arrow-flight" }
+datafusion = { path = "../../../datafusion" }
[dev-dependencies]
diff --git a/rust/ballista/rust/executor/Cargo.toml b/rust/ballista/rust/executor/Cargo.toml
index beed860fd9..6b05b7c7fa 100644
--- a/rust/ballista/rust/executor/Cargo.toml
+++ b/rust/ballista/rust/executor/Cargo.toml
@@ -45,13 +45,9 @@ tokio-stream = "0.1"
tonic = "0.4"
uuid = { version = "0.8", features = ["v4"] }
-#arrow = { path = "../../../arrow" }
-#arrow-flight = { path = "../../../arrow-flight" }
-#datafusion = { path = "../../../datafusion" }
-
-arrow = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-arrow-flight = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-datafusion = { git = "https://github.com/apache/arrow", rev="fe83dca" }
+arrow = { path = "../../../arrow" }
+arrow-flight = { path = "../../../arrow-flight" }
+datafusion = { path = "../../../datafusion" }
[dev-dependencies]
diff --git a/rust/ballista/rust/scheduler/Cargo.toml b/rust/ballista/rust/scheduler/Cargo.toml
index 57342dd633..71925ee525 100644
--- a/rust/ballista/rust/scheduler/Cargo.toml
+++ b/rust/ballista/rust/scheduler/Cargo.toml
@@ -52,11 +52,8 @@ tonic = "0.4"
tower = { version = "0.4" }
warp = "0.3"
-#arrow = { path = "../../../arrow" }
-#datafusion = { path = "../../../datafusion" }
-
-arrow = { git = "https://github.com/apache/arrow", rev="fe83dca" }
-datafusion = { git = "https://github.com/apache/arrow", rev="fe83dca" }
+arrow = { path = "../../../arrow" }
+datafusion = { path = "../../../datafusion" }
[dev-dependencies]
ballista-core = { path = "../core" }