We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76c7d58 commit acb5edeCopy full SHA for acb5ede
src/parseable/staging/writer.rs
@@ -106,6 +106,18 @@ impl<const N: usize> DiskWriter<N> {
106
self.file_id += 1;
107
self.count = 0;
108
109
+ let partfile_path = format!(
110
+ "{}.{}.{ARROW_PART_FILE_EXTENSION}",
111
+ self.path_prefix, self.file_id
112
+ );
113
+ let file = OpenOptions::new()
114
+ .create(true)
115
+ .append(true)
116
+ .open(partfile_path)?;
117
+
118
+ self.inner = FileWriter::try_new_buffered(file, &self.inner.schema())
119
+ .expect("File and RecordBatch both are checked");
120
121
Ok(())
122
}
123
0 commit comments