viirya commented on code in PR #3342:
URL: https://github.com/apache/arrow-rs/pull/3342#discussion_r1048803349
##########
arrow-csv/src/writer.rs:
##########
@@ -139,8 +143,8 @@ impl<W: Write> Writer<W> {
for (col_index, item) in buffer.iter_mut().enumerate() {
let col = &batch[col_index];
if col.is_null(row_index) {
- // write an empty value
- *item = "".to_string();
+ // write the configured empty value
Review Comment:
```suggestion
// write the configured null value
```
--
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]