alamb opened a new issue, #8844:
URL: https://github.com/apache/arrow-datafusion/issues/8844
### Describe the bug
Build fails with no default features
### To Reproduce
```shell
cargo build --no-default-features
```
Produces
```
error[E0412]: cannot find type `ParquetSink` in this scope
--> datafusion/proto/src/physical_plan/mod.rs:989:32
|
989 | let data_sink: ParquetSink = sink
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
18 + use crate::protobuf::ParquetSink;
|
18 + use datafusion::datasource::file_format::parquet::ParquetSink;
|
error[E0412]: cannot find type `ParquetSink` in this scope
--> datafusion/proto/src/physical_plan/mod.rs:1822:69
|
1822 | if let Some(sink) =
exec.sink().as_any().downcast_ref::<ParquetSink>() {
|
^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
18 + use crate::protobuf::ParquetSink;
|
18 + use datafusion::datasource::file_format::parquet::ParquetSink;
|
warning: unused import: `writer_properties_to_proto`
--> datafusion/proto/src/physical_plan/to_proto.rs:34:56
|
34 | use crate::logical_plan::{csv_writer_options_to_proto,
writer_properties_to_proto};
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `parquet_writer::ParquetWriterOptions`
--> datafusion/proto/src/physical_plan/to_proto.rs:65:9
|
65 | parquet_writer::ParquetWriterOptions,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0412`.
warning: `datafusion-proto` (lib) generated 2 warnings
error: could not compile `datafusion-proto` (lib) due to 2 previous errors;
2 warnings emitted
warning: build failed, waiting for other jobs to finish...
```
### Expected behavior
Should build cleanly
### Additional context
Reported by @fudini here:
https://github.com/apache/arrow-datafusion/issues/7653#issuecomment-1888113919
--
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]