Skip to content

cargo test -p arrow-cast fails on main #8910

@Jefffrey

Description

@Jefffrey

Describe the bug

Running cargo test -p arrow-cast on main fails.

To Reproduce

Error:

failures:

---- arrow-cast/src/display.rs - display::ArrayFormatterFactory (line 292) stdout ----
error[E0432]: unresolved import `arrow_cast::pretty`
  --> arrow-cast/src/display.rs:297:17
   |
 8 | use arrow_cast::pretty::pretty_format_batches_with_options;
   |                 ^^^^^^ could not find `pretty` in `arrow_cast`
   |
note: found an item that was configured out
  --> /Users/jeffrey/Code/arrow-rs/arrow-cast/src/lib.rs:31:9
   |
30 | #[cfg(feature = "prettyprint")]
   |       ----------------------- the item is gated behind the `prettyprint` feature
31 | pub mod pretty;
   |         ^^^^^^

error: aborting due to 1 previous error

Expected behavior

Should succeed.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions