We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fdd4f5 commit b747f9fCopy full SHA for b747f9f
1 file changed
datafusion/physical-plan/src/spill/in_progress_spill_file.rs
@@ -62,7 +62,7 @@ impl InProgressSpillFile {
62
));
63
}
64
if self.writer.is_none() {
65
- let schema = batch.schema();
+ let schema = self.spill_writer.schema();
66
if let Some(ref in_progress_file) = self.in_progress_file {
67
self.writer = Some(IPCStreamWriter::new(
68
in_progress_file.path(),
0 commit comments