We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596509d commit 373f969Copy full SHA for 373f969
datafusion/datasource/src/write/demux.rs
@@ -172,7 +172,8 @@ async fn row_count_demuxer(
172
};
173
174
// Single-file output requires creating at least one file stream in advance.
175
- // If no record batches are present in the input stream (zero-row scenario),
+ // If no record batches are present in the input stream,
176
+ // the file stream must still be created to produce a valid output file.
177
if single_file_output {
178
open_file_streams.push(create_new_file_stream(
179
&base_output_path,
0 commit comments