-
Couldn't load subscription status.
- Fork 1.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
DataFusion no longer compiles without default features:
To Reproduce
cargo test --no-default-features -p datafusion Compiling datafusion v5.1.0 (/Users/alamb/Software/arrow-datafusion/datafusion)
error[E0432]: unresolved import `crate::physical_plan::file_format::DEFAULT_PARTITION_COLUMN_DATATYPE`
--> datafusion/src/datasource/listing/table.rs:31:43
|
31 | file_format::{PhysicalPlanConfig, DEFAULT_PARTITION_COLUMN_DATATYPE},
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DEFAULT_PARTITION_COLUMN_DATATYPE` in `physical_plan::file_format`
error: cannot find macro `lazy_static` in this scope
--> datafusion/src/physical_plan/file_format/mod.rs:51:1
|
51 | lazy_static! {
| ^^^^^^^^^^^
error[E0425]: cannot find value `DEFAULT_PARTITION_COLUMN_DATATYPE` in this scope
--> datafusion/src/physical_plan/file_format/mod.rs:108:21
|
108 | DEFAULT_PARTITION_COLUMN_DATATYPE.clone(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `DEFAULT_PARTITION_COLUMN_DATATYPE` in this scope
--> datafusion/src/physical_plan/file_format/mod.rs:267:34
|
267 | debug_assert_eq!(data_type, *DEFAULT_PARTITION_COLUMN_DATATYPE);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0425, E0432.
Expected behavior
Datafusion should compile
Additional context
I suspect this came in via #1141
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working