-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
DeltaLake integration not working (Python) #14842
Labels
bug
Something isn't working
Comments
cross posted here: delta-io/delta-rs#3221 |
What error are you seeing? |
Nothing. It just silently crashes on the |
not sure really relevant, but I'm also having some compilation issue when trying to use deltalake with datafusion in Rust. Here's what I get: Compiling datafusion v44.0.0
Compiling datafusion-proto v44.0.0
Compiling deltalake-core v0.24.0
error[E0308]: mismatched types
--> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deltalake-core-0.24.0/src/kernel/models/actions.rs:567:9
|
566 | fn try_from(value: &TableFeatures) -> Result<Self, Self::Error> {
| ------------------------- expected `Result<ReaderFeatures, strum::ParseError>` because of return type
567 | ReaderFeatures::try_from(value.as_ref())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `strum::ParseError`, found a different `strum::ParseError`
|
= note: `strum::ParseError` and `strum::ParseError` have similar names, but are actually distinct types
note: `strum::ParseError` is defined in crate `strum`
--> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strum-0.26.3/src/lib.rs:42:1
|
42 | pub enum ParseError {
| ^^^^^^^^^^^^^^^^^^^
note: `strum::ParseError` is defined in crate `strum`
--> /home/hanbo/.cargo/git/checkouts/strum-222d21164b266718/cc240c3/strum/src/lib.rs:42:1
|
42 | pub enum ParseError {
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `strum` are being used?
error[E0308]: mismatched types
--> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/deltalake-core-0.24.0/src/kernel/models/actions.rs:575:9
|
574 | fn try_from(value: &TableFeatures) -> Result<Self, Self::Error> {
| ------------------------- expected `Result<WriterFeatures, strum::ParseError>` because of return type
575 | WriterFeatures::try_from(value.as_ref())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `strum::ParseError`, found a different `strum::ParseError`
|
= note: `strum::ParseError` and `strum::ParseError` have similar names, but are actually distinct types
note: `strum::ParseError` is defined in crate `strum`
--> /home/hanbo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/strum-0.26.3/src/lib.rs:42:1
|
42 | pub enum ParseError {
| ^^^^^^^^^^^^^^^^^^^
note: `strum::ParseError` is defined in crate `strum`
--> /home/hanbo/.cargo/git/checkouts/strum-222d21164b266718/cc240c3/strum/src/lib.rs:42:1
|
42 | pub enum ParseError {
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `strum` are being used?
For more information about this error, try `rustc --explain E0308`.
error: could not compile `deltalake-core` (lib) due to 2 previous errors
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After upgrading to deltalake (Python) 0.25.1, this basic example fails. Was working fine before.
To Reproduce
No response
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: