Skip to content

Commit

Permalink
more features
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Sep 17, 2023
1 parent 04ad074 commit 341eae1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/polars-pipe/src/executors/sinks/file_sink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use polars_io::csv::CsvWriter;
use polars_io::parquet::ParquetWriter;
#[cfg(feature = "ipc")]
use polars_io::prelude::IpcWriter;
#[cfg(feature = "ipc")]
#[cfg(any(feature = "ipc", feature = "csv"))]
use polars_io::SerWriter;
use polars_plan::prelude::*;

Expand Down Expand Up @@ -212,7 +212,7 @@ impl CsvSink {
}
}

#[cfg(any(feature = "parquet", feature = "ipc"))]
#[cfg(any(feature = "parquet", feature = "ipc", feature = "csv"))]
fn init_writer_thread(
receiver: Receiver<Option<DataChunk>>,
mut writer: Box<dyn SinkWriter + Send>,
Expand Down
4 changes: 2 additions & 2 deletions crates/polars-pipe/src/executors/sinks/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[cfg(any(feature = "parquet", feature = "ipc"))]
#[cfg(any(feature = "parquet", feature = "ipc", feature = "csv"))]
mod file_sink;
pub(crate) mod group_by;
mod io;
Expand All @@ -10,7 +10,7 @@ mod slice;
mod sort;
mod utils;

#[cfg(any(feature = "parquet", feature = "ipc"))]
#[cfg(any(feature = "parquet", feature = "ipc", feature = "csv"))]
pub(crate) use file_sink::*;
pub(crate) use joins::*;
pub(crate) use ordered::*;
Expand Down

0 comments on commit 341eae1

Please sign in to comment.