Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit e044c7e

Browse files
fix: get_results returns none if table is empty (#971)
1 parent aa55f93 commit e044c7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

utils/test_results.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,7 @@ def get_results(
7070
# deserialize
7171
table = pl.read_ipc(result)
7272

73+
if table.height == 0:
74+
return None
75+
7376
return table

0 commit comments

Comments
 (0)