alamb opened a new issue #1217:
URL: https://github.com/apache/arrow-datafusion/issues/1217
**Describe the bug**
DataFusion no longer compiles without default features:
**To Reproduce**
```shell
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
https://github.com/apache/arrow-datafusion/pull/1141
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]