Skip to content

Commit 964805f

Browse files
YKoustubhRaoalambmbrobbel
authored
Update docstring comment for Writer::write() in writer.rs (apache#8267)
# Rationale for this change Update the docstring from function write() in struct Writer to reflect that we write only one RecordBatch at a time as opposed to a vector of record batches. # What changes are included in this PR? Just the comment doc string as above # Are these changes tested? yes # Are there any user-facing changes? No --------- Co-authored-by: Andrew Lamb <[email protected]> Co-authored-by: Matthijs Brobbel <[email protected]>
1 parent 1c4d925 commit 964805f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrow-csv/src/writer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl<W: Write> Writer<W> {
102102
WriterBuilder::new().with_delimiter(delimiter).build(writer)
103103
}
104104

105-
/// Write a vector of record batches to a writable object
105+
/// Write a RecordBatch to a writable object
106106
pub fn write(&mut self, batch: &RecordBatch) -> Result<(), ArrowError> {
107107
let num_columns = batch.num_columns();
108108
if self.beginning {

0 commit comments

Comments
 (0)