Skip to content

Commit

Permalink
Trivial: use arrow csv writer's timestamp_tz_format (#11407)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmi authored Jul 12, 2024
1 parent 13ddbaf commit c769a70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datafusion/common/src/file_options/csv_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ impl TryFrom<&CsvOptions> for CsvWriterOptions {
if let Some(v) = &value.timestamp_format {
builder = builder.with_timestamp_format(v.into())
}
if let Some(v) = &value.timestamp_tz_format {
builder = builder.with_timestamp_tz_format(v.into())
}
if let Some(v) = &value.time_format {
builder = builder.with_time_format(v.into())
}
Expand Down

0 comments on commit c769a70

Please sign in to comment.