Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example python_rust_compiled_function build fails in 43.1 #18948

Open
2 tasks done
bwrob opened this issue Sep 26, 2024 · 0 comments
Open
2 tasks done

Example python_rust_compiled_function build fails in 43.1 #18948

bwrob opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars

Comments

@bwrob
Copy link

bwrob commented Sep 26, 2024

Checks

  • I have checked that this issue has not already been reported.
  • I have confirmed this bug exists on the latest version of Polars.

Reproducible example

This concerns python_rust_compiled_function

Log output

No response

Issue description

The included example python_rust_compiled_function doesn't build with versions 43.1

This is mostly due to the changes:
#18425

Needed changes include:

  • switch to PlSmallStr in inputs to ffi::import_array_from_c, ArrowField::new and Series::try_from

Expected behavior

The official example builds and works.

Installed versions

[dependencies]
polars-arrow = { version = "0.43.1"}
polars = { version = "0.43.1"}
pyo3 = { version = "0.22.3" }

@bwrob bwrob added bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Awaiting prioritization by a maintainer rust Related to Rust Polars
Projects
None yet
Development

No branches or pull requests

1 participant