Skip to content

Apache DataFusion SQL Query Engine

Remove unused crate dependencies (#14827)

Piotr Findeisenc0b749da432f
diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.yml
index 0f52d14cda..3f882d7a3a 100644
--- a/.github/workflows/extended.yml
+++ b/.github/workflows/extended.yml
@@ -23,16 +23,13 @@ concurrency:
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#running-your-pull_request-workflow-when-a-pull-request-merges
#
-# These jobs only run on the `main` branch as they are time consuming
+# These jobs are not run as part of PR checks as they are time-consuming
# and should not fail often.
#
# We still run them as they provide important coverage to ensure correctness
# in the (very rare) event of a hash failure or sqlite library query failure.
on:
- # Run on all commits to main
push:
- branches:
- - main
jobs:
# Check crate compiles and base cargo check passes
diff --git a/Cargo.lock b/Cargo.lock
index 716e0cf103..d5edabdf45 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2232,7 +2232,6 @@ version = "45.0.0"
dependencies = [
"arrow",
"datafusion-common",
- "datafusion-datasource",
"datafusion-execution",
"datafusion-expr",
"datafusion-expr-common",
@@ -2399,13 +2398,11 @@ dependencies = [
"datafusion-execution",
"datafusion-expr",
"datafusion-optimizer",
- "datafusion-physical-expr",
"datafusion-physical-plan",
"datafusion-sql",
"getrandom 0.2.15",
"tokio",
"wasm-bindgen",
- "wasm-bindgen-futures",
"wasm-bindgen-test",
]
diff --git a/Cargo.toml b/Cargo.toml
index 45b146e2e2..f7d39aeb30 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -146,7 +146,6 @@ pbjson = { version = "0.7.0" }
pbjson-types = "0.7"
# Should match arrow-flight's version of prost.
prost = "0.13.1"
-prost-derive = "0.13.1"
rand = "0.8.5"
recursive = "0.1.1"
regex = "1.8"
diff --git a/datafusion/physical-optimizer/Cargo.toml b/datafusion/physical-optimizer/Cargo.toml
index 9b7e6a0f5d..e8473e6556 100644
--- a/datafusion/physical-optimizer/Cargo.toml
+++ b/datafusion/physical-optimizer/Cargo.toml
@@ -40,7 +40,6 @@ recursive_protection = ["dep:recursive"]
[dependencies]
arrow = { workspace = true }
datafusion-common = { workspace = true, default-features = true }
-datafusion-datasource = { workspace = true }
datafusion-execution = { workspace = true }
datafusion-expr = { workspace = true }
datafusion-expr-common = { workspace = true, default-features = true }
diff --git a/datafusion/wasmtest/Cargo.toml b/datafusion/wasmtest/Cargo.toml
index 6d64a15f4b..30d5bcaedc 100644
--- a/datafusion/wasmtest/Cargo.toml
+++ b/datafusion/wasmtest/Cargo.toml
@@ -50,14 +50,12 @@ datafusion-common = { workspace = true, default-features = true }
datafusion-execution = { workspace = true }
datafusion-expr = { workspace = true }
datafusion-optimizer = { workspace = true, default-features = true }
-datafusion-physical-expr = { workspace = true, default-features = true }
datafusion-physical-plan = { workspace = true }
datafusion-sql = { workspace = true }
# getrandom must be compiled with js feature
getrandom = { version = "0.2.8", features = ["js"] }
wasm-bindgen = "0.2.99"
-wasm-bindgen-futures = "0.4.49"
[dev-dependencies]
tokio = { workspace = true }