Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 54 additions & 44 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ datafusion = { version = "53", default-features = false }
polars = { version = "0.54", default-features = false, features = ["ipc"] }

# PyO3 for the pyspark-rs CPython extension.
pyo3 = { version = "0.28", features = ["extension-module", "abi3-py39"] }
pyo3 = { version = "0.30.1", features = ["extension-module", "abi3-py39"] }

# misc
bytes = "1"
Expand Down
1 change: 1 addition & 0 deletions crates/pyspark-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "pyspark-rs"
version.workspace = true
edition.workspace = true
rust-version = "1.85"
license.workspace = true
description = "PyO3 bindings exposing the Rust Spark Connect client as a drop-in pyspark package"
# The Python extension (cdylib) is distributed as a PyPI wheel, not on crates.io.
Expand Down
2 changes: 1 addition & 1 deletion crates/pyspark-rs/src/row.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl PyRow {
}
}

/// Convert a Spark `Value` into a Python object (PyO3 0.28 `IntoPyObject`).
/// Convert a Spark `Value` into a Python object using PyO3's `IntoPyObject`.
pub fn value_to_py<'py>(py: Python<'py>, v: &Value) -> PyResult<Bound<'py, PyAny>> {
// Propagate conversion failures as Python exceptions with `?` rather than
// panicking across the FFI boundary (the conversions are near-infallible,
Expand Down
Loading