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 b2e8848 commit 821db54Copy full SHA for 821db54
datafusion-cli/src/print_options.rs
@@ -141,7 +141,8 @@ impl PrintOptions {
141
let mut row_count = 0_usize;
142
let mut with_header = true;
143
144
- while let Some(Ok(batch)) = stream.next().await {
+ while let Some(maybe_batch) = stream.next().await {
145
+ let batch = maybe_batch?;
146
row_count += batch.num_rows();
147
self.format.print_batches(
148
&mut writer,
0 commit comments