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

Build fails with [email protected] #653

Closed
toddtreece opened this issue Jul 2, 2021 · 0 comments · Fixed by #654
Closed

Build fails with [email protected] #653

toddtreece opened this issue Jul 2, 2021 · 0 comments · Fixed by #654
Labels
bug Something isn't working

Comments

@toddtreece
Copy link
Contributor

Describe the bug
arrow v4.3 is currently specified as a dependency, but it looks like v4.4 is required:

   Compiling datafusion v4.0.0-SNAPSHOT (/home/todd/arrow-datafusion/datafusion)
error[E0308]: mismatched types
   --> datafusion/src/physical_plan/expressions/nth_value.rs:189:27
    |
189 |                     shift(arr.as_ref(), index as i64).map_err(DataFusionError::ArrowError)
    |                           ^^^^^^^^^^^^ expected struct `PrimitiveArray`, found trait object `dyn arrow::array::Array`
    |
    = note: expected reference `&PrimitiveArray<_>`
               found reference `&dyn arrow::array::Array`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.
error: could not compile `datafusion`

To learn more, run the command again with --verbose.

To Reproduce
Steps to reproduce the behavior:
To reproduce you might need to force the arrow and parquet dependencies to 4.3.0, and then run cargo build:

arrow = { version = "=4.3", features = ["prettyprint"] }
parquet = { version = "=4.3", features = ["arrow"] }

Expected behavior
For the build to succeed with the specified dependencies.

@toddtreece toddtreece added the bug Something isn't working label Jul 2, 2021
@alamb alamb closed this as completed in #654 Jul 2, 2021
andygrove added a commit to andygrove/datafusion that referenced this issue Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant