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 5ec0c78 commit 506091eCopy full SHA for 506091e
python/tests/test_dataframe.py
@@ -3353,9 +3353,6 @@ def read_stream():
3353
interrupt_thread.join(timeout=1.0)
3354
3355
3356
-
3357
3358
3359
def test_show_select_where_no_rows(capsys) -> None:
3360
ctx = SessionContext()
3361
df = ctx.sql("SELECT 1 WHERE 1=0")
src/dataframe.rs
@@ -389,9 +389,7 @@ impl Iterator for PartitionedDataFrameStreamReader {
389
let batch = if let Some(ref schema) = self.projection {
390
match record_batch_into_schema(batch, schema.as_ref()) {
391
Ok(b) => b,
392
- Err(e) => {
393
- return Some(Err(e));
394
- }
+ Err(e) => return Some(Err(e)),
395
}
396
} else {
397
batch
0 commit comments