You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
Using pyo3-polars 0.17 with the dtype-categorical feature for polars seems to lead to compilation errors. Using pyo3-polars 0.15 works fine.
error[E0004]: non-exhaustive patterns: &DataType::Categorical(_, _) and &DataType::Enum(_, _) not covered
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pyo3-polars-0.17.0/src/types.rs:359:15
|
359 | match &self.0 {
| ^^^^^^^ patterns &DataType::Categorical(_, _) and &DataType::Enum(_, _) not covered
|
note: DataType defined here
--> /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/polars-core-0.43.1/src/datatypes/dtype.rs:44:1
|
44 | pub enum DataType {
| ^^^^^^^^^^^^^^^^^
...
88 | Categorical(Option<Arc>, CategoricalOrdering),
| ----------- not covered
89 | #[cfg(feature = "dtype-categorical")]
90 | Enum(Option<Arc>, CategoricalOrdering),
| ---- not covered
= note: the matched value is of type &DataType
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
|
494 ~ },
495 + &DataType::Categorical(_, ) | &DataType::Enum(, _) => todo!()
Using pyo3-polars 0.17 with the dtype-categorical feature for polars seems to lead to compilation errors. Using pyo3-polars 0.15 works fine.