Skip to content

Commit 077fb8c

Browse files
committed
Remove pyarrow
1 parent f32984b commit 077fb8c

File tree

8 files changed

+1
-304
lines changed

8 files changed

+1
-304
lines changed

.github/workflows/rust.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,6 @@ jobs:
209209
run: cargo check --profile ci --no-default-features -p datafusion --features=math_expressions
210210
- name: Check datafusion (parquet)
211211
run: cargo check --profile ci --no-default-features -p datafusion --features=parquet
212-
- name: Check datafusion (pyarrow)
213-
run: cargo check --profile ci --no-default-features -p datafusion --features=pyarrow
214212
- name: Check datafusion (regex_expressions)
215213
run: cargo check --profile ci --no-default-features -p datafusion --features=regex_expressions
216214
- name: Check datafusion (recursive_protection)
@@ -572,30 +570,6 @@ jobs:
572570
shell: bash
573571
run: cargo test --profile ci --exclude datafusion-cli --workspace --lib --tests --bins --features avro,json,backtrace,integration-tests
574572

575-
test-datafusion-pyarrow:
576-
name: cargo test pyarrow (amd64)
577-
needs: linux-build-lib
578-
runs-on: ubuntu-latest
579-
container:
580-
image: amd64/rust:bullseye # Use the bullseye tag image which comes with python3.9
581-
steps:
582-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
583-
with:
584-
submodules: true
585-
fetch-depth: 1
586-
- name: Install PyArrow
587-
run: |
588-
echo "LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
589-
apt-get update
590-
apt-get install python3-pip -y
591-
python3 -m pip install pyarrow
592-
- name: Setup Rust toolchain
593-
uses: ./.github/actions/setup-builder
594-
with:
595-
rust-version: stable
596-
- name: Run datafusion-common tests
597-
run: cargo test --profile ci -p datafusion-common --features=pyarrow,sql
598-
599573
vendor:
600574
name: Verify Vendored Code
601575
runs-on: ubuntu-latest

Cargo.lock

Lines changed: 0 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ Optional features:
129129
- `avro`: support for reading the [Apache Avro] format
130130
- `backtrace`: include backtrace information in error messages
131131
- `parquet_encryption`: support for using [Parquet Modular Encryption]
132-
- `pyarrow`: conversions between PyArrow and DataFusion types
133132
- `serde`: enable arrow-schema's `serde` feature
134133

135134
[apache avro]: https://avro.apache.org/

ci/scripts/rust_clippy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
# under the License.
1919

2020
set -ex
21-
cargo clippy --all-targets --workspace --features avro,pyarrow,integration-tests,extended_tests -- -D warnings
21+
cargo clippy --all-targets --workspace --features avro,integration-tests,extended_tests -- -D warnings

datafusion/common/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ parquet_encryption = [
4545
"parquet/encryption",
4646
"dep:hex",
4747
]
48-
pyarrow = ["pyo3", "arrow/pyarrow", "parquet"]
4948
force_hash_collisions = []
5049
recursive_protection = ["dep:recursive"]
5150
parquet = ["dep:parquet"]
@@ -71,7 +70,6 @@ log = { workspace = true }
7170
object_store = { workspace = true, optional = true }
7271
parquet = { workspace = true, optional = true, default-features = true }
7372
paste = "1.0.15"
74-
pyo3 = { version = "0.26", optional = true }
7573
recursive = { workspace = true, optional = true }
7674
sqlparser = { workspace = true, optional = true }
7775
tokio = { workspace = true }

datafusion/common/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ mod dfschema;
3434
mod functional_dependencies;
3535
mod join_type;
3636
mod param_value;
37-
#[cfg(feature = "pyarrow")]
38-
mod pyarrow;
3937
mod schema_reference;
4038
mod table_reference;
4139
mod unnest;

0 commit comments

Comments
 (0)