Skip to content

Commit

Permalink
Remove delimiter from csv Writer
Browse files Browse the repository at this point in the history
  • Loading branch information
gsserge committed Feb 19, 2022
1 parent ecba7dc commit 333672c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arrow/src/csv/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ where
pub struct Writer<W: Write> {
/// The object to write to
writer: csv_crate::Writer<W>,
/// Column delimiter. Defaults to `b','`
#[allow(dead_code)]
delimiter: u8,
/// Whether file should be written with headers. Defaults to `true`
has_headers: bool,
/// The date format for date arrays
Expand All @@ -124,7 +121,6 @@ impl<W: Write> Writer<W> {
let writer = builder.delimiter(delimiter).from_writer(writer);
Writer {
writer,
delimiter,
has_headers: true,
date_format: DEFAULT_DATE_FORMAT.to_string(),
datetime_format: DEFAULT_TIMESTAMP_FORMAT.to_string(),
Expand Down Expand Up @@ -475,7 +471,6 @@ impl WriterBuilder {
let writer = builder.delimiter(delimiter).from_writer(writer);
Writer {
writer,
delimiter,
has_headers: self.has_headers,
date_format: self
.date_format
Expand Down

0 comments on commit 333672c

Please sign in to comment.