Skip to content

Commit c8967f5

Browse files
committed
Remove pyarrow
1 parent 2a82897 commit c8967f5

8 files changed

Lines changed: 1 addition & 307 deletions

File tree

.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)
@@ -563,30 +561,6 @@ jobs:
563561
shell: bash
564562
run: cargo test --profile ci --exclude datafusion-cli --workspace --lib --tests --bins --features avro,json,backtrace,integration-tests
565563

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

Cargo.lock

Lines changed: 0 additions & 103 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.25", 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
@@ -29,8 +29,6 @@ mod dfschema;
2929
mod functional_dependencies;
3030
mod join_type;
3131
mod param_value;
32-
#[cfg(feature = "pyarrow")]
33-
mod pyarrow;
3432
mod schema_reference;
3533
mod table_reference;
3634
mod unnest;

0 commit comments

Comments
 (0)